@typecad/jlcpcb-parts
Version:
Intelligent fuzzy search for JLCPCB electrical components with CLI interface
32 lines • 909 B
TypeScript
/**
* Class for displaying progress indicators in the console
*/
export declare class ProgressIndicator {
private message;
private interval;
private frames;
private frameIndex;
private startTime;
private isActive;
/**
* Creates a new ProgressIndicator
* @param message - Message to display next to the spinner
*/
constructor(message?: string);
/**
* Starts the progress indicator
* @param message - Optional message to override the default
*/
start(message?: string): void;
/**
* Stops the progress indicator
* @param clearLine - Whether to clear the line after stopping (default: false)
*/
stop(clearLine?: boolean): void;
/**
* Updates the progress message
* @param message - New message to display
*/
updateMessage(message: string): void;
}
//# sourceMappingURL=ProgressIndicator.d.ts.map