/** * Starts a spinner before an operation and clears it after successful * completion. * * @param message - Status message displayed while the operation runs. * @param operation - Asynchronous operation to execute. */ export declare function withSpinner(message: string, operation: () => Promise): Promise; /** * Replaces any active spinner with a new status message. * * @param message - Status message to display. * @param interruptMessage - Message shown when the user interrupts the wait. */ export declare function startSpinner(message: string, interruptMessage?: string): void; /** Clears the active spinner and removes its terminal output. */ export declare function clearSpinner(): void; //# sourceMappingURL=spinner.d.ts.map