/** This will start a task, measure performances as well as cut build into steps for easier debugging, performance tracking and better user logs @example ``` typescript const build = createNewBuild() await build.step('Msg description', () => buildStepCallback()) await build.step('Msg description 2', () => buildStepCallback2()) build.end('Successfully built') // in N seconds will be appended to description ``` */ export declare function createNewTask(): { _stepNb: number; _startTime: number; step(title: string, callback: FunctionGeneric, { watch, cleanOnError, doNotDisplayTime }?: { watch?: boolean; cleanOnError?: boolean; doNotDisplayTime?: boolean; }): Promise; end(text: string): void; };