interface MistyTask { isFooter: boolean; height: number; render(showElapsed?: boolean): void; update(msg?: string): void; finish(msg?: string): void; } declare namespace MistyTask { interface Options { /** * Control whether the elapsed time is visible for this task. * @default true */ elapsed?: boolean; /** * Control whether the spinner is visible for this task. * * The default value is `true` unless `footer: true` is used. */ spinner?: boolean; /** * Always render this task after normal tasks. * * This also implies `spinner: false` */ footer?: boolean; } } declare function startTask(init: string | (() => string), options?: boolean | MistyTask.Options): MistyTask; export { MistyTask, startTask };