import { Logger } from '../index';
import { RendererContract } from '../../Contracts';
/**
 * Exposes the API to print actions in one of the following three states
 *
 * - failed
 * - succeeded
 * - skipped
 */
export declare class Action {
    private label;
    private logger;
    constructor(label: string, logger: Logger);
    /**
     * Returns the label
     */
    private getLabel;
    private formatMessage;
    /**
     * Define a custom renderer. Logs to "stdout" and "stderr"
     * by default
     */
    useRenderer(renderer: RendererContract): this;
    /**
     * Mark action as successful
     */
    succeeded(message: string): void;
    /**
     * Mark action as skipped
     */
    skipped(message: string, skipReason?: string): void;
    /**
     * Mark action as failed
     */
    failed(message: string, errorMessage: string): void;
}
