export interface AbortExecutionOptions {
    colorize?: boolean;
}
export declare function abortExecution(msg: string, ...args: unknown[]): Error;
export declare function abortExecutionWithOpts({ colorize }: AbortExecutionOptions | undefined, msg: string, ...args: unknown[]): Error;
export declare function abortExecutionWithError(error: any, msg: string, ...args: unknown[]): Promise<Error>;
export declare function getExecutionErrorBody<T>(error: any): Promise<T | undefined>;
