import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike } from '../../types/index.js';
/**
 * Toggle a collectible (Fragment) username
 *
 * > **Note**: non-collectible usernames must still be changed
 * > using {@link setUsername}/{@link setChatUsername}
 */
export declare function toggleFragmentUsername(client: ITelegramClient, params: {
    /** Peer ID whose username to toggle */
    peerId: InputPeerLike;
    /**
     * Username to toggle
     */
    username: string;
    /**
     * Whether to enable or disable the username
     */
    active: boolean;
}): Promise<void>;
