import { type AdapterAuthSessionInternalStatus, type AdapterAuthSessionStatus } from "./types/agent.js"; export declare const ADAPTER_AUTH_SESSION_ACTIVE_STATUSES: readonly ["starting", "waiting_for_user", "promoting"]; export type AdapterAuthSessionActiveStatus = (typeof ADAPTER_AUTH_SESSION_ACTIVE_STATUSES)[number]; /** Returns true when the status holds the company credential slot. */ export declare function isActiveAdapterAuthSessionStatus(status: AdapterAuthSessionInternalStatus): status is AdapterAuthSessionActiveStatus; /** * Maps an internal status to the public status. The map hides the two internal * states from a public response: * * - `promoting` maps to `waiting_for_user`. * - `cleanup_pending` throws. It is a terminal-cleanup bookkeeping state. The * caller must resolve the terminal status from the row before it builds a * public response. The throw stops any accidental leak of the cleanup state. */ export declare function toPublicAdapterAuthSessionStatus(status: AdapterAuthSessionInternalStatus): AdapterAuthSessionStatus; //# sourceMappingURL=adapter-auth-session.d.ts.map