import { Message } from '@indite.io/schemas'; export declare const continueChatQuery: ({ apiHost, message, sessionId, }: { apiHost?: string; message?: Message; history?: string; sessionId: string; }) => Promise<{ data: { messages: ({ id: string; } & ({ type: import("@indite.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.TEXT; content: { type: "richText"; richText?: any; } | { type: "markdown"; markdown: string; }; } | { type: import("@indite.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.IMAGE; content: { url?: string | undefined; clickLink?: { url?: string | undefined; alt?: string | undefined; } | undefined; }; } | { type: import("@indite.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.VIDEO; content: { height?: number | `{{${string}}}` | undefined; id?: string | undefined; type?: import("@indite.io/schemas/features/blocks/bubbles/video/constants").VideoBubbleContentType | undefined; url?: string | undefined; isAutoplayEnabled?: boolean | undefined; aspectRatio?: string | undefined; maxWidth?: string | undefined; queryParamsStr?: string | undefined; areControlsDisplayed?: boolean | undefined; }; } | { type: import("@indite.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.AUDIO; content: { url?: string | undefined; isAutoplayEnabled?: boolean | undefined; }; } | { type: import("@indite.io/schemas/features/blocks/bubbles/constants").BubbleBlockType.EMBED; content: { height?: number | undefined; url?: string | undefined; waitForEvent?: { name?: string | undefined; isEnabled?: boolean | undefined; saveDataInVariableId?: string | undefined; } | undefined; }; } | { type: "custom-embed"; content: { initFunction: { content: string; args: Record; }; url?: string | undefined; waitForEventFunction?: { content: string; args: Record; } | undefined; }; }))[]; input?: (({ id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE; items: { id: string; outgoingEdgeId?: string | undefined; content?: string | undefined; blockId?: string | undefined; displayCondition?: { isEnabled?: boolean | undefined; condition?: { logicalOperator?: import("@indite.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined; comparisons?: { id: string; value?: string | undefined; variableId?: string | undefined; comparisonOperator?: import("@indite.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined; }[] | undefined; } | undefined; } | undefined; }[]; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; isMultipleChoice?: boolean | undefined; buttonLabel?: string | undefined; dynamicVariableId?: string | undefined; isSearchable?: boolean | undefined; searchInputPlaceholder?: string | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.CHOICE; items: { id: string; outgoingEdgeId?: string | undefined; content?: string | undefined; displayCondition?: { isEnabled?: boolean | undefined; condition?: { logicalOperator?: import("@indite.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined; comparisons?: { id: string; value?: string | undefined; variableId?: string | undefined; comparisonOperator?: import("@indite.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined; }[] | undefined; } | undefined; } | undefined; }[]; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; isMultipleChoice?: boolean | undefined; buttonLabel?: string | undefined; dynamicVariableId?: string | undefined; isSearchable?: boolean | undefined; searchInputPlaceholder?: string | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.DATE; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; labels?: { button?: string | undefined; from?: string | undefined; to?: string | undefined; } | undefined; hasTime?: boolean | undefined; isRange?: boolean | undefined; format?: string | undefined; min?: string | undefined; max?: string | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE; outgoingEdgeId?: string | undefined; options?: { visibility?: "Auto" | "Public" | "Private" | undefined; variableId?: string | undefined; labels?: { button?: string | undefined; placeholder?: string | undefined; clear?: string | undefined; skip?: string | undefined; success?: { single?: string | undefined; multiple?: string | undefined; } | undefined; } | undefined; isRequired?: boolean | undefined; isMultipleAllowed?: boolean | undefined; sizeLimit?: number | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.FILE; outgoingEdgeId?: string | undefined; options?: { visibility?: "Auto" | "Public" | "Private" | undefined; variableId?: string | undefined; labels?: { button?: string | undefined; placeholder?: string | undefined; clear?: string | undefined; skip?: string | undefined; success?: { single?: string | undefined; multiple?: string | undefined; } | undefined; } | undefined; isRequired?: boolean | undefined; isMultipleAllowed?: boolean | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.TEXT; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; labels?: { button?: string | undefined; placeholder?: string | undefined; } | undefined; isLong?: boolean | undefined; audioClip?: { visibility?: "Auto" | "Public" | "Private" | undefined; isEnabled?: boolean | undefined; saveVariableId?: string | undefined; } | undefined; attachments?: { visibility?: "Auto" | "Public" | "Private" | undefined; isEnabled?: boolean | undefined; saveVariableId?: string | undefined; } | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.EMAIL; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; labels?: { button?: string | undefined; placeholder?: string | undefined; } | undefined; retryMessageContent?: string | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.NUMBER; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; labels?: { button?: string | undefined; placeholder?: string | undefined; } | undefined; min?: number | `{{${string}}}` | undefined; max?: number | `{{${string}}}` | undefined; step?: number | `{{${string}}}` | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.PAYMENT; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; labels?: { button?: string | undefined; success?: string | undefined; } | undefined; retryMessageContent?: string | undefined; provider?: import("@indite.io/schemas/features/blocks/inputs/payment/constants").PaymentProvider | undefined; additionalInformation?: { address?: { country?: string | undefined; line1?: string | undefined; line2?: string | undefined; state?: string | undefined; city?: string | undefined; postalCode?: string | undefined; } | undefined; name?: string | undefined; email?: string | undefined; description?: string | undefined; phoneNumber?: string | undefined; } | undefined; credentialsId?: string | undefined; currency?: string | undefined; amount?: string | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.PHONE; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; labels?: { button?: string | undefined; placeholder?: string | undefined; } | undefined; retryMessageContent?: string | undefined; defaultCountryCode?: string | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.RATING; outgoingEdgeId?: string | undefined; options?: { length?: number | undefined; variableId?: string | undefined; labels?: { left?: string | undefined; right?: string | undefined; button?: string | undefined; } | undefined; buttonType?: "Icons" | "Numbers" | undefined; startsAt?: number | `{{${string}}}` | undefined; customIcon?: { isEnabled?: boolean | undefined; svg?: string | undefined; } | undefined; isOneClickSubmitEnabled?: boolean | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.URL; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; labels?: { button?: string | undefined; placeholder?: string | undefined; } | undefined; retryMessageContent?: string | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.PICTURE_CHOICE; items: { id: string; title?: string | undefined; outgoingEdgeId?: string | undefined; blockId?: string | undefined; displayCondition?: { isEnabled?: boolean | undefined; condition?: { logicalOperator?: import("@indite.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined; comparisons?: { id: string; value?: string | undefined; variableId?: string | undefined; comparisonOperator?: import("@indite.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined; }[] | undefined; } | undefined; } | undefined; description?: string | undefined; pictureSrc?: string | undefined; }[]; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; isMultipleChoice?: boolean | undefined; buttonLabel?: string | undefined; isSearchable?: boolean | undefined; searchInputPlaceholder?: string | undefined; dynamicItems?: { isEnabled?: boolean | undefined; titlesVariableId?: string | undefined; descriptionsVariableId?: string | undefined; pictureSrcsVariableId?: string | undefined; } | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.PICTURE_CHOICE; items: { id: string; title?: string | undefined; outgoingEdgeId?: string | undefined; displayCondition?: { isEnabled?: boolean | undefined; condition?: { logicalOperator?: import("@indite.io/schemas/features/blocks/logic/condition/constants").LogicalOperator | undefined; comparisons?: { id: string; value?: string | undefined; variableId?: string | undefined; comparisonOperator?: import("@indite.io/schemas/features/blocks/logic/condition/constants").ComparisonOperators | undefined; }[] | undefined; } | undefined; } | undefined; description?: string | undefined; pictureSrc?: string | undefined; }[]; outgoingEdgeId?: string | undefined; options?: { variableId?: string | undefined; isMultipleChoice?: boolean | undefined; buttonLabel?: string | undefined; isSearchable?: boolean | undefined; searchInputPlaceholder?: string | undefined; dynamicItems?: { isEnabled?: boolean | undefined; titlesVariableId?: string | undefined; descriptionsVariableId?: string | undefined; pictureSrcsVariableId?: string | undefined; } | undefined; } | undefined; } | { id: string; type: import("@indite.io/schemas/features/blocks/inputs/constants").InputBlockType.LOCATION; outgoingEdgeId?: string | undefined; options?: { buttons: { yes?: string | undefined; no?: string | undefined; }; variableId?: string | undefined; labels?: { question?: string | undefined; } | undefined; browserDetails?: { isEnabled?: boolean | undefined; saveVariableId?: string | undefined; } | undefined; } | undefined; }) & { prefilledValue?: string | undefined; runtimeOptions?: { paymentIntentSecret: string; amountLabel: string; publicKey: string; } | undefined; }) | undefined; progress?: number | undefined; logs?: { status: string; description: string; details?: unknown; }[] | undefined; dynamicTheme?: { hostAvatarUrl?: string | undefined; guestAvatarUrl?: string | undefined; } | undefined; lastMessageNewFormat?: string | undefined; clientSideActions?: ({ type: "scriptToExecute"; scriptToExecute: { content: string; args: { id: string; value?: string | number | boolean | (string | null)[] | null | undefined; }[]; isCode?: boolean | undefined; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "redirect"; redirect: { url?: string | undefined; isNewTab?: boolean | undefined; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "chatwoot"; chatwoot: { scriptToExecute: { content: string; args: { id: string; value?: string | number | boolean | (string | null)[] | null | undefined; }[]; isCode?: boolean | undefined; }; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "googleAnalytics"; googleAnalytics: { value?: number | `{{${string}}}` | undefined; label?: string | undefined; trackingId?: string | undefined; category?: string | undefined; action?: string | undefined; sendTo?: string | undefined; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "wait"; wait: { secondsToWaitFor: number; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "setVariable"; setVariable: { scriptToExecute: { content: string; args: { id: string; value?: string | number | boolean | (string | null)[] | null | undefined; }[]; isCode?: boolean | undefined; }; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "streamOpenAiChatCompletion"; streamOpenAiChatCompletion: { messages: { content?: string | undefined; role?: "user" | "system" | "assistant" | undefined; }[]; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "httpRequestToExecute"; httpRequestToExecute: { url: string; body?: unknown; headers?: Record | undefined; method?: import("@indite.io/schemas/features/blocks/integrations/httpRequest/constants").HttpMethod | undefined; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "startPropsToInject"; startPropsToInject: { customHeadCode?: string | undefined; googleAnalyticsId?: string | undefined; pixelIds?: string[] | undefined; gtmId?: string | undefined; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "pixel"; pixel: { params?: { id: string; value?: any; key?: string | undefined; }[] | undefined; eventType?: undefined; pixelId?: string | undefined; isInitSkip?: boolean | undefined; } | { eventType: "Lead" | "Contact" | "CompleteRegistration" | "Schedule" | "SubmitApplication" | "ViewContent" | "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Purchase" | "Search" | "StartTrial" | "Subscribe"; params?: { id: string; value?: any; key?: string | undefined; }[] | undefined; pixelId?: string | undefined; isInitSkip?: boolean | undefined; } | { eventType: "Custom"; params?: { id: string; value?: any; key?: string | undefined; }[] | undefined; name?: string | undefined; pixelId?: string | undefined; isInitSkip?: boolean | undefined; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "stream"; stream: true; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "codeToExecute"; codeToExecute: { content: string; args: Record; }; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; } | { type: "listenForWebhook"; lastBubbleBlockId?: string | undefined; expectsDedicatedReply?: boolean | undefined; })[] | undefined; chatLimitExceededError?: string | undefined; }; error?: undefined; } | { error: unknown; data?: undefined; }>; //# sourceMappingURL=continueChatQuery.d.ts.map