import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { PreCheckoutQuery } from '../../types/updates/pre-checkout-query.js';
/**
 * Answer a pre-checkout query.
 *
 * @param queryId  Pre-checkout query ID
 */
export declare function answerPreCheckoutQuery(client: ITelegramClient, queryId: tl.Long | PreCheckoutQuery, params?: {
    /** If pre-checkout is rejected, error message to show to the user */
    error?: string;
}): Promise<void>;
