export interface OrgCredential { alias: string; instanceUrl: string; accessToken: string; refreshToken?: string; username: string; orgId: string; clientId?: string; scope?: string; loginType?: 'oauth-web' | 'jwt'; expiresAt?: number; isDefault?: boolean; } export type CredentialStatus = 'Active' | 'Expired' | 'Unknown'; export declare function getCredentialExpiryMs(cred: Pick): number | undefined; export declare function getCredentialStatus(cred: Pick, now?: number): CredentialStatus; export declare function saveCredential(cred: OrgCredential): void; export declare function loadCredential(alias: string): OrgCredential | null; export declare function removeCredential(alias: string): boolean; export declare function listCredentials(): OrgCredential[]; export declare function getDefaultCredential(): OrgCredential | null; export declare function setDefaultOrg(alias: string): boolean;