1 | import type { Ora, Options, Spinner, Color } from 'ora';
|
2 | export type Loader = Ora;
|
3 | declare class OraNoop implements Loader {
|
4 | spinner: Spinner;
|
5 | indent: number;
|
6 | isSpinning: boolean;
|
7 | text: string;
|
8 | prefixText: string;
|
9 | color: Color;
|
10 | succeed(_text?: string | undefined): this;
|
11 | fail(_text?: string): this;
|
12 | start(_text?: string): this;
|
13 | stop(): this;
|
14 | warn(_text?: string): this;
|
15 | info(_text?: string): this;
|
16 | stopAndPersist(): this;
|
17 | clear(): this;
|
18 | render(): this;
|
19 | frame(): string;
|
20 | }
|
21 | export declare function getLoader(options?: string | Options | undefined): Loader;
|
22 | export declare const NoopLoader: typeof OraNoop;
|
23 | export {};
|
24 |
|
\ | No newline at end of file |