import { ITelegramClient } from '../../client.types.js';
import { ForumTopic, InputPeerLike } from '../../types/index.js';
/**
 * Toggle whether a topic in a forum is pinned
 *
 * Only admins with `manageTopics` permission can do this.
 */
export declare function toggleForumTopicPinned(client: ITelegramClient, params: {
    /** Chat ID or username */
    chatId: InputPeerLike;
    /** ID of the topic (i.e. its top message ID) */
    topicId: number | ForumTopic;
    /** Whether the topic should be pinned */
    pinned: boolean;
}): Promise<void>;
