export interface AuthSlotRecord { slot: string; createdAt: string; updatedAt: string; lastUsedAt?: string; lastQuotaAt?: string; exhaustedAt?: string; } export interface AuthMetadata { version: 1; currentSlot?: string; slots: AuthSlotRecord[]; } export interface AtomicWriteOptions { mode?: number; beforeRename?: (tempPath: string) => void | Promise; } export declare function atomicWriteFile(targetPath: string, data: string | Buffer, options?: AtomicWriteOptions): Promise; export declare function emptyMetadata(): AuthMetadata; export declare function readAuthMetadata(home?: string): Promise; export declare function writeAuthMetadata(metadata: AuthMetadata, home?: string): Promise; export declare function addSlotFromAuthFile(slot: string, liveAuthPath: string, home?: string, now?: Date): Promise; export declare function listSlots(home?: string): Promise; export declare function useSlot(slot: string, liveAuthPath: string, home?: string, now?: Date): Promise; export declare function markSlotQuota(slot: string, home?: string, now?: Date): Promise; export declare function clearSlotExhaustion(slot: string, home?: string): Promise; //# sourceMappingURL=storage.d.ts.map