You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
723 B
24 lines
723 B
import type { Ora, Options, Spinner, Color } from 'ora';
|
|
export declare type Loader = Ora;
|
|
declare class OraNoop implements Loader {
|
|
spinner: Spinner;
|
|
indent: number;
|
|
isSpinning: boolean;
|
|
text: string;
|
|
prefixText: string;
|
|
color: Color;
|
|
succeed(_text?: string | undefined): this;
|
|
fail(_text?: string): this;
|
|
start(_text?: string): this;
|
|
stop(): this;
|
|
warn(_text?: string): this;
|
|
info(_text?: string): this;
|
|
stopAndPersist(): this;
|
|
clear(): this;
|
|
render(): this;
|
|
frame(): string;
|
|
}
|
|
export declare function getLoader(options?: string | Options | undefined): Loader;
|
|
export declare const NoopLoader: typeof OraNoop;
|
|
export {};
|
|
//# sourceMappingURL=loader.d.ts.map
|