export interface StoredCredentials { apiBaseUrl: string; key: string; username: string; workerId?: string; label?: string; createdAt: string; } export declare function credentialsPath(): string; export declare function saveCredentials(creds: StoredCredentials): void; export declare function loadCredentials(): StoredCredentials | null; export declare function clearCredentials(): boolean; /** * Resolve the active worker key: WORKER_API_KEY env wins, else the stored * credential file. Returns null if neither is present. */ export declare function resolveWorkerKey(): string | null; //# sourceMappingURL=credentials.d.ts.map