export interface CodexProfileMetadata {
    type: 'codex';
    created: string;
    last_used: string | null;
    email?: string;
    plan_type?: string | null;
    account_id?: string;
}
export interface CodexProfileData {
    version: string;
    default: string | null;
    profiles: Record<string, CodexProfileMetadata>;
}
export interface CodexAccountIdentity {
    email?: string;
    plan_type?: string;
    account_id?: string;
}
export declare const CODEX_PROFILE_SCHEMA_VERSION = "1.0";
/**
 * Profile name must match /^[a-z0-9][a-z0-9_-]{0,63}$/ and not be reserved.
 * Rejects uppercase, path separators, leading dash/underscore, length >64.
 */
export declare function isValidCodexProfileName(name: string): boolean;
export declare function getCodexProfileNameError(name: string): string | null;
//# sourceMappingURL=types.d.ts.map