UNPKG

@boost/core

Version:

Robust pipeline for creating dev tools that separate logic into routines and tasks.

28 lines 772 B
import Output from '../Output'; declare const STYLES: { bar: string[]; classic: string[]; hash: string[]; pipe: string[]; square: string[]; }; export declare type ProgressStyle = keyof typeof STYLES; export interface ProgressState { color?: boolean; current: number; style?: ProgressStyle; template?: string; total: number; transparent?: boolean; } export declare type ProgressRenderer = () => ProgressState; export default class ProgressOutput extends Output<ProgressRenderer> { startTime: number; stopTime: number; protected onStart(): void; protected onFirst(): void; protected onLast(): void; protected toString(state: ProgressState): string; } export {}; //# sourceMappingURL=ProgressOutput.d.ts.map