import type { CommsAccount } from './auth-provider.js'; import type { AuthMode } from './config.js'; /** Canonical `CommsAccount` factory. Applies the `'unknown'` / `''` defaults. */ export declare function makeCommsAccount(input: { id: string; label: string; authMode?: AuthMode; authScope?: string; oauthClientId?: string; authBaseUrl?: string; authResource?: string; }): CommsAccount; /** * Adapt a Comms `getSessionUser` payload to a `CommsAccount`. Lives in its * own module so `migrate-auth.ts` can import it without pulling in * `auth-provider.ts`'s runtime graph. */ export declare function toCommsAccount(sessionUser: { id: number; fullName: string; }, metadata?: { authMode?: AuthMode; authScope?: string; oauthClientId?: string; authBaseUrl?: string; authResource?: string; }): CommsAccount; //# sourceMappingURL=comms-account.d.ts.map