import type { Prompter } from "#setup/prompter.js"; type LoginStage = "source_inspection" | "gateway_catalog" | "authentication" | "activation"; /** Fixed stage names and durations only: no credentials, team names, or provider responses. */ export declare function measureLoginStage(stage: LoginStage, task: () => Promise): Promise; /** Avoid painting a loading phase for quick local work. */ export declare function withLoginProgress(prompter: Prompter, message: string, task: () => Promise): Promise; export {};