import { MaybeArray } from '../../../types/utils.js';
import { ITelegramClient } from '../../client.types.js';
import { InputMessageId, Poll } from '../../types/index.js';
/**
 * Send or retract a vote in a poll.
 */
export declare function sendVote(client: ITelegramClient, params: InputMessageId & {
    /**
     * Selected options, or `null` to retract.
     * You can pass indexes of the answers or the `Buffer`s
     * representing them. In case of indexes, the poll will first
     * be requested from the server.
     */
    options: null | MaybeArray<number | Uint8Array>;
}): Promise<Poll>;
