import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike } from '../../types/index.js';
/**
 * Restrict a user in a supergroup.
 */
export declare function restrictChatMember(client: ITelegramClient, params: {
    /** Chat ID */
    chatId: InputPeerLike;
    /** User ID */
    userId: InputPeerLike;
    /**
     * Restrictions for the user. Note that unlike Bot API, this object contains
     * the restrictions, and not the permissions, i.e.
     * passing `sendMessages=true` will disallow the user to send messages,
     * and passing `{}` (empty object) will lift any restrictions
     */
    restrictions: Omit<tl.RawChatBannedRights, '_' | 'untilDate'>;
    /**
     * Date when the user will be unrestricted.
     * When `number` is passed, UNIX time in ms is expected.
     * If this value is less than 30 seconds or more than 366 days in
     * the future, user will be restricted forever.
     *
     * @default  `0`, i.e. forever
     */
    until?: number | Date;
}): Promise<void>;
