export interface TelegramConfig {
    botToken: string;
    userId: number;
}
/** Read the saved Telegram config, or null when unset/incomplete. */
export declare function loadTelegramConfig(): Promise<TelegramConfig | null>;
/** Persist the Telegram config with owner-only permissions (0600). */
export declare function saveTelegramConfig(config: TelegramConfig): Promise<void>;
/** Rough bot-token shape check (`123456789:ABCdef...`). */
export declare function isValidBotTokenFormat(token: string): boolean;
export interface BotVerification {
    ok: boolean;
    username?: string;
    firstName?: string;
}
/**
 * Verify a bot token against Telegram's getMe. Returns `{ ok: false }` when the
 * token is malformed or Telegram rejects it (never throws on a bad token).
 */
export declare function verifyBotToken(botToken: string): Promise<BotVerification>;
//# sourceMappingURL=telegram-config.d.ts.map