import { type TelegramAccount, type TelegramAccountPaths, type TelegramConfig, type TelegramProvisioningState } from './types.js'; export declare class TelegramCredentialManager { private configDir; private credentialsPath; private provisioningStatePath; private tdlibRootDir; constructor(configDir?: string); loadConfig(): Promise; saveConfig(config: TelegramConfig): Promise; getAccount(accountId?: string): Promise; listAccounts(): Promise>; setAccount(account: TelegramAccount): Promise; migrateAccount(oldAccountId: string, account: TelegramAccount): Promise; setCurrent(accountId: string): Promise; removeAccount(accountId: string): Promise; clearCredentials(): Promise; saveProvisioningState(state: TelegramProvisioningState): Promise; loadProvisioningState(): Promise; clearProvisioningState(): Promise; getAccountPaths(accountId: string): TelegramAccountPaths; ensureAccountPaths(accountId: string): Promise; } //# sourceMappingURL=credential-manager.d.ts.map