import type { BufferTask, EmptyTaskParser, SimpleGitTask, StringTask } from '../types'; export declare const EMPTY_COMMANDS: []; export declare type EmptyTask = { commands: typeof EMPTY_COMMANDS; format: 'empty'; parser: EmptyTaskParser; onError?: undefined; }; export declare function adhocExecTask(parser: EmptyTaskParser): EmptyTask; export declare function configurationErrorTask(error: Error | string): EmptyTask; export declare function straightThroughStringTask(commands: string[], trimmed?: boolean): StringTask; export declare function straightThroughBufferTask(commands: string[]): BufferTask; export declare function isBufferTask(task: SimpleGitTask): task is BufferTask; export declare function isEmptyTask(task: SimpleGitTask): task is EmptyTask;