import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { InputMessageId } from '../../types/index.js';
/**
 * Request a callback answer from a bot,
 * i.e. click an inline button that contains data.
 *
 * @param params
 */
export declare function getCallbackAnswer(client: ITelegramClient, params: InputMessageId & {
    /** Data contained in the button */
    data: string | Uint8Array;
    /**
     * Timeout for the query in ms.
     *
     * @default  `10000` (10 sec)
     */
    timeout?: number;
    /**
     * Whether to "fire and forget" this request,
     * in which case the promise will resolve as soon
     * as the request is sent with an empty response.
     *
     * Useful for interacting with bots that don't correctly
     * answer to callback queries and the request always times out.
     *
     * **Note**: any errors will be silently ignored.
     */
    fireAndForget?: boolean;
    /**
     * Whether this is a "play game" button
     */
    game?: boolean;
    /**
     * If the button requires password entry, your 2FA password.
     *
     * Your password is never exposed to the bot,
     * it is checked by Telegram.
     */
    password?: string;
}): Promise<tl.messages.TypeBotCallbackAnswer>;
