export declare const CHAT_NAME_MAX_CODE_POINTS = 100; export declare const CHAT_RENAME_COOLDOWN_MS: number; export declare function normalizeLarkChatName(input: unknown): { ok: true; name: string; } | { ok: false; error: 'invalid_chat_name'; }; export declare class ChatRenameCooldown { private readonly cooldownMs; private readonly lastAt; constructor(cooldownMs?: number); check(key: string, now?: number): { ok: true; } | { ok: false; retryAfterSeconds: number; }; record(key: string, now?: number): void; } /** Serializes the read → cooldown → write transaction for one bot/chat key. */ export declare class ChatRenameSerialQueue { private readonly tails; run(key: string, operation: () => Promise): Promise; } //# sourceMappingURL=chat-rename.d.ts.map