/** * Run an async function with a terminal spinner. * Gracefully degrades in non-TTY environments (e.g. piped output). */ export declare function withSpinner(message: string, fn: () => Promise): Promise;