import { ShippingOptionInput } from '../inputs'; import { ErrorUnion, OkUnion } from '../outputs'; /** * Sets the result of a shipping query; for bots only * @param {Object} params * @param {string} [params.shippingQueryId] - Identifier of the shipping query * @param {ShippingOptionInput[]} [params.shippingOptions] - Available shipping options * @param {string} [params.errorMessage] - An error message, empty on success * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type AnswerShippingQueryMethod = (params: AnswerShippingQueryParams, state?: Record) => Promise; export interface AnswerShippingQueryParams { /** Identifier of the shipping query */ shippingQueryId?: string; /** Available shipping options */ shippingOptions?: ShippingOptionInput[]; /** An error message, empty on success */ errorMessage?: string; }