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