export declare const MAX_FLOOD_RETRIES = 2; export declare const MAX_RETRY_AFTER_MS = 30000; export declare const DEFAULT_FLOOD_BACKOFF_MS = 1000; export declare const realSleep: (ms: number) => Promise; export declare function floodRetryAfterMs(e: unknown): number | null; export declare function replyWithFloodRetry(reply: (text: string, extra?: { parse_mode?: 'HTML'; }) => Promise, text: string, extra?: { parse_mode?: 'HTML'; }, opts?: { maxRetries?: number; sleep?: (ms: number) => Promise; }): Promise;