export type AccountType = "gemini" | "antigravity";
export interface Account {
    id: string;
    type: AccountType;
    email: string;
    accessToken: string;
    refreshToken?: string;
    expiresIn?: number;
    scope?: string;
    projectId?: string;
    isActive: boolean;
    isRateLimited: boolean;
    rateLimitedUntil?: Date;
    quotaExhausted: boolean;
    priority: number;
    createdAt: Date;
    updatedAt: Date;
}
export interface AccountManagerOptions {
    storagePath?: string;
    autoRotate: boolean;
}
export declare class AccountManager {
    accounts: Map<string, Account>;
    private storagePath;
    autoRotate: boolean;
    constructor(options?: AccountManagerOptions);
    private ensureDir;
    loadAccounts(): Promise<void>;
    saveAccounts(): Promise<void>;
    addAccount(accountData: Omit<Account, "id" | "createdAt" | "updatedAt" | "priority" | "isRateLimited" | "quotaExhausted">): Promise<Account>;
    getNextAccount(): Account | null;
    removeAccount(id: string): boolean;
    listAccounts(): Account[];
    getActiveAccounts(): Account[];
}
//# sourceMappingURL=account-manager.d.ts.map