import { TelegramTdlibClient } from '../client.js'; import { TelegramCredentialManager } from '../credential-manager.js'; import { type TelegramAccount } from '../types.js'; export interface AccountOption { account?: string; pretty?: boolean; } export declare function parseLimitOption(rawLimit: string | undefined, defaultValue: number, maxValue?: number): number; export declare function withTelegramClient(options: AccountOption, action: (client: TelegramTdlibClient, account: TelegramAccount, manager: TelegramCredentialManager) => Promise): Promise; //# sourceMappingURL=shared.d.ts.map