import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike } from '../../types/index.js';
/**
 * Set whether a channel/supergroup has join-to-send setting enabled.
 *
 * This only affects discussion groups where users can send messages
 * without joining the group.
 *
 * @param chatId  Chat ID or username
 * @param enabled  Whether join-to-send setting should be enabled
 */
export declare function toggleJoinToSend(client: ITelegramClient, chatId: InputPeerLike, enabled?: boolean): Promise<void>;
