import { readUserInfo } from './auth/cookie-cache.js';
export type WhoamiStatus = {
    ok: true;
    data: {
        keyPreview: string;
        sessionActive: boolean;
        user: ReturnType<typeof readUserInfo>;
        updatedAt: string | null;
    };
} | {
    ok: false;
    error: {
        type: 'auth';
        message: string;
        hint: string;
    };
};
export declare function getWhoamiStatus(): Promise<WhoamiStatus>;
//# sourceMappingURL=whoami.d.ts.map