import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike, Message } from '../../types/index.js'; /** * Toggle whether "General" topic in a forum is hidden or not * * Only admins with `manageTopics` permission can do this. * * @returns Service message about the modification */ export declare function toggleGeneralTopicHidden(client: ITelegramClient, params: { /** Chat ID or username */ chatId: InputPeerLike; /** Whether the topic should be hidden */ hidden: boolean; /** * Whether to dispatch the returned service message (if any) * to the client's update handler. */ shouldDispatch?: true; }): Promise;