import type { AccountData } from './api.js'; export interface WechatContact { userId: string; contextToken: string; lastSeen: string; displayName?: string; } export declare function loadCredentials(): AccountData | null; export declare function saveCredentials(data: AccountData): void; export declare function removeCredentials(): void; export declare function loadSyncBuf(): string; export declare function saveSyncBuf(buf: string): void; export declare function loadContacts(): WechatContact[]; export declare function saveContact(userId: string, contextToken: string): void; export declare function getContactToken(userId: string): string | null; //# sourceMappingURL=credentials.d.ts.map