import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { CreateInteractiveFormSessionOptions, InteractiveFormSession, CreateInteractiveFormSessionStreamedOptions, CreateInteractiveFormSessionStreamedResponse, SendUserMessageOptions, SendUserMessageResponse, SendUserMessageApplicationErrors, SendUserMessageStreamedOptions, SendUserMessageStreamedResponse, SendUserMessageStreamedApplicationErrors, Form, GenerateFormSummaryResponse, GenerateFormSummaryApplicationErrors, InteractiveFormSessionCreatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, AcknowledgmentResponse, ActionEvent, Address, AddressComponentTypeOptionsOneOf, AddressInfo, AddressInfoTag, AddressInfoTagWithLiterals, AddressLine2, Alignment, AlignmentWithLiterals, AllowedValuesOptions, AnchorData, AndCondition, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, Appointment, AppointmentFormatInfoOneOf, ArrayComponentType, ArrayComponentTypeWithLiterals, ArrayErrorMessages, ArrayItems, ArrayItemsItemTypeOptionsOneOf, ArrayType, ArrayTypeArrayItems, ArrayTypeArrayItemsItemsOneOf, AspectRatio, AspectRatioWithLiterals, AssistantOptions, AudioData, Availability, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BaseEventMetadata, BlockquoteData, BookingData, BooleanComponentType, BooleanComponentTypeWithLiterals, BooleanErrorMessages, BooleanType, Border, BorderColors, BorderWidths, BreakPoint, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, Call, CallToolsRequest, CallToolsResponse, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CardStylesAlignment, CardStylesAlignmentWithLiterals, CardStylesType, CardStylesTypeWithLiterals, CellStyle, ChangeableProperty, ChangeablePropertyWithLiterals, Checkbox, CheckboxGroup, CheckboxGroupOption, ChunkType, ChunkTypeWithLiterals, ClientTime, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, ComponentType, ComponentTypeWithLiterals, ComponentsTags, Condition, ConditionNode, ConditionNodeNodeOneOf, ConfirmationLevel, ConfirmationLevelWithLiterals, ContactAutofill, ContactAutofillWithLiterals, ContactField, ContactFieldWithLiterals, ContextMessage, ContextMessageOptionsOneOf, ConverseRequest, ConverseRequestRequestOneOf, ConverseResponse, ConverseResponseResponseOneOf, CorrectAnswersList, CreateInteractiveFormSessionRequest, CreateInteractiveFormSessionResponse, CreateInteractiveFormSessionStreamedRequest, Crop, CropWithLiterals, CustomFieldInfo, CustomOption, CustomValue, DataExtensionsDetails, DateInput, DatePicker, DateRange, DateTimeAdvancedConstraints, DateTimeConstraints, DateTimeInput, DayOfWeek, DayOfWeekWithLiterals, DebugDetails, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DefaultCountryConfig, DefaultCountryConfigOptionsOneOf, DefaultCountryConfigType, DefaultCountryConfigTypeWithLiterals, Design, DesignTarget, DesignTargetWithLiterals, DeveloperOptions, Dimensions, Direction, DirectionWithLiterals, DisplayField, DisplayFieldDisplayFieldTypeOptionsOneOf, DisplayFieldType, DisplayFieldTypeWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DonationInput, DonationInputOption, Dropdown, DropdownOption, DynamicPriceOptions, EmailInfo, EmailInfoTag, EmailInfoTagWithLiterals, EmbedData, EndOfResponseDetails, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ErrorDetails, EventData, EventMetadata, ExtendedFields, Field, FieldFieldTypeOptionsOneOf, FieldGroup, FieldOverride, FieldOverridePropertyTypeOptionsOneOf, FieldOverrides, FieldType, FieldTypeWithLiterals, FieldsOverrides, FieldsSettings, FileData, FileSource, FileSourceDataOneOf, FileType, FileUpload, FileUploadDetails, FirstDayOfWeek, FirstDayOfWeekWithLiterals, FixedPayment, FixedPriceOptions, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, FormField, FormFieldArrayType, FormFieldBooleanType, FormFieldContactInfo, FormFieldContactInfoAdditionalInfoOneOf, FormFieldContactInfoAddressInfo, FormFieldContactInfoContactField, FormFieldContactInfoContactFieldWithLiterals, FormFieldContactInfoCustomFieldInfo, FormFieldContactInfoEmailInfo, FormFieldContactInfoEmailInfoTag, FormFieldContactInfoEmailInfoTagWithLiterals, FormFieldContactInfoPhoneInfo, FormFieldContactInfoPhoneInfoTag, FormFieldContactInfoPhoneInfoTagWithLiterals, FormFieldContactInfoSubscriptionInfo, FormFieldNumberType, FormFieldObjectType, FormFieldStringType, FormFieldStringTypeFormatOptionsOneOf, FormLayout, FormOverride, FormProperties, FormRule, Format, FormatEnumFormat, FormatEnumFormatWithLiterals, FormatWithLiterals, FunctionCallOptions, FunctionCallOutputOptions, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GenerateFormSummaryRequest, GetStateRequest, GetStateResponse, Gradient, GradientType, GradientTypeWithLiterals, Group, HTMLData, HTMLDataDataOneOf, HeadingData, Height, HiddenOptions, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageFit, ImageFitWithLiterals, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, ImportantTextDetails, InPersonOptions, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, InputField, InputFieldInputTypeOptionsOneOf, InputType, InputTypeWithLiterals, IntegerType, InteractiveFormSessionResponseChunk, InteractiveFormSessionResponseChunkOfOneOf, Item, ItemDataOneOf, ItemLayout, ItemLayoutItemOneOf, ItemStyle, ItemType, ItemTypeWithLiterals, Kind, KindWithLiterals, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutDataImagePosition, LayoutDataImagePositionWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LimitationRule, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, LinkTarget, LinkTargetWithLiterals, ListStyle, ListStyleWithLiterals, ListValue, Location, LocationLocationInfoOneOf, MapData, MapSettings, MapType, MapTypeWithLiterals, Margin, MeaningfulInput, Media, MediaItem, MediaItemMediaOneOf, MediaSettings, MeetingType, MeetingTypeWithLiterals, MentionData, MessageEnvelope, Metadata, MultiSelectInputDetails, MultilineAddress, MultilineAddressValidation, NestedForm, NestedFormFieldOverrides, NestedFormOverrides, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, NumberComponentType, NumberComponentTypeWithLiterals, NumberCorrectAnswersList, NumberErrorMessages, NumberInput, NumberInputDetails, NumberOfColumns, NumberOfColumnsWithLiterals, NumberQuizFieldSettings, NumberRangeLimit, NumberRangeLimitEndOneOf, NumberType, ObjectArray, ObjectArrayComponentType, ObjectArrayComponentTypeOptionsOneOf, ObjectArrayComponentTypeWithLiterals, ObjectArrayType, ObjectErrorMessages, ObjectType, ObjectTypePropertiesType, ObjectTypePropertiesTypePropertiesTypeOneOf, Oembed, Operator, OperatorWithLiterals, OptInLevel, OptInLevelWithLiterals, Option, OptionDesign, OptionLayout, OrCondition, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, OutputInteractiveFormSessionStreamedRequest, OutputInteractiveFormSessionStreamedResponse, OverrideEntityType, OverrideEntityTypeEnumOverrideEntityType, OverrideEntityTypeEnumOverrideEntityTypeWithLiterals, OverrideEntityTypeWithLiterals, PDFSettings, PageNavigationOptions, ParagraphData, PassFailMessages, Password, Payment, PaymentComponentType, PaymentComponentTypeOptionsOneOf, PaymentComponentTypeWithLiterals, PaymentInput, PaymentType, Permissions, PhoneConstraints, PhoneInfo, PhoneInfoTag, PhoneInfoTagWithLiterals, PhoneInput, PhoneOptions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollOption, PopupOptions, Position, PositionWithLiterals, PostSubmissionTriggers, PredefinedValidation, PredefinedValidationFormatOptionsOneOf, PriceType, PriceTypeWithLiterals, PricingData, Product, ProductCheckboxGroup, ProductCheckboxGroupOption, ProductPriceOptionsOneOf, ProductType, ProductTypeWithLiterals, PropertiesType, PropertiesTypeEnum, PropertiesTypeEnumWithLiterals, PropertiesTypePropertiesTypeOptionsOneOf, QuantityLimit, QuizFieldSettings, QuizSettings, QuizSettingsPassingCriteriaOneOf, QuizSettingsResultsDisplayOptionsOneOf, RadioGroup, RadioGroupOption, RatingInput, RedirectOptions, Rel, RelayAssistantMessageRequest, Repeater, ReportConversationRequest, ReportConversationResponse, RequiredIndicator, RequiredIndicatorPlacement, RequiredIndicatorPlacementWithLiterals, RequiredIndicatorProperties, RequiredIndicatorWithLiterals, RequiredOptions, Resizing, ResizingWithLiterals, Response, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, ResultsDisplay, ResultsDisplayWithLiterals, RibbonStyles, RichContent, RichContentOptions, Role, RoleWithLiterals, Rule, RuleFormOverride, RuleFormOverrideEntityTypeOptionsOneOf, Scaling, ScalingWithLiterals, Scheduling, SchedulingComponentType, SchedulingComponentTypeOptionsOneOf, SchedulingComponentTypeWithLiterals, Section, SendUserMessageRequest, SendUserMessageStreamedRequest, SeparatorDetails, ServiceOption, ServicesCheckboxGroup, ServicesDropdown, Settings, ShapeData, ShapeDataStyles, Signature, SignatureDetails, SingleSelectInputDetails, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, Source, SourceWithLiterals, SpamFilterProtectionLevel, SpamFilterProtectionLevelWithLiterals, Spoiler, SpoilerData, StaffStrategySelection, StaffStrategySelectionWithLiterals, Step, Stop, StringComponentType, StringComponentTypeWithLiterals, StringCorrectAnswersList, StringErrorMessages, StringQuizFieldSettings, StringType, StringTypeDateTimeConstraints, StringTypeFormatEnumFormat, StringTypeFormatEnumFormatWithLiterals, StringTypeFormatOptionsOneOf, StringTypePhoneConstraints, StringTypeValidationMessages, Style, StyleWithLiterals, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, SubmissionAccess, SubmissionAccessWithLiterals, SubmissionDetails, SubmitSettings, SubmitSettingsSubmitSuccessActionOptionsOneOf, SubmitSuccessAction, SubmitSuccessActionWithLiterals, SubscriptionChannel, SubscriptionChannelWithLiterals, SubscriptionInfo, TableCellData, TableData, Tag, TagList, TagWithLiterals, Tags, TagsOption, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextDataDetails, TextDetails, TextInput, TextNodeStyle, TextStyle, ThankYouMessageOptions, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TimeInput, TocData, Tool, Type, TypeWithLiterals, UploadFileFormat, UploadFileFormatWithLiterals, UpsertContact, Usage, UsageRequest, UserOptions, V4FormFieldContactInfo, V4FormFieldContactInfoAdditionalInfoOneOf, Validation, ValidationFormat, ValidationFormatWithLiterals, ValidationMessages, ValidationValidationOneOf, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoConferenceOptions, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixFile, WixFileComponentType, WixFileComponentTypeOptionsOneOf, WixFileComponentTypeWithLiterals, _Array, _ArrayComponentTypeOptionsOneOf, _Boolean, _BooleanComponentTypeOptionsOneOf, _Number, _NumberComponentTypeOptionsOneOf, _Object, _String, _StringComponentTypeOptionsOneOf } from './index.typings.js'; declare function createInteractiveFormSession$1(httpClient: HttpClient): CreateInteractiveFormSessionSignature; interface CreateInteractiveFormSessionSignature { /** * Creates an interactive form session for AI-powered conversational form completion. * * For implementations that require real-time streaming, call [Create Interactive Form Session Streamed](https://dev.wix.com/docs/api-reference/crm/forms/interactive-form-sessions/create-interactive-form-session-streamed) instead. * @param - Form ID to create an interactive session for. * @returns Created interactive form session. */ (formId: string, options?: CreateInteractiveFormSessionOptions): Promise>; } declare function createInteractiveFormSessionStreamed$1(httpClient: HttpClient): CreateInteractiveFormSessionStreamedSignature; interface CreateInteractiveFormSessionStreamedSignature { /** * Creates an interactive form session for AI-powered conversational form completion, with real-time streaming. * * For implementations that prefer to wait for the complete response, call [Create Interactive Form Session](https://dev.wix.com/docs/api-reference/crm/forms/interactive-form-sessions/create-interactive-form-session) instead. * @param - Form ID to create an interactive session for. */ (formId: string, options?: CreateInteractiveFormSessionStreamedOptions): Promise>; } declare function sendUserMessage$1(httpClient: HttpClient): SendUserMessageSignature; interface SendUserMessageSignature { /** * Submits a user message to an existing interactive form session and processes the conversational input. * User messages support up to 10,000 characters. * * For implementations that require real-time streaming, call [Send User Message Streamed](https://dev.wix.com/docs/api-reference/crm/forms/interactive-form-sessions/send-user-message-streamed) instead. * @param - Interactive form session ID to send the message to. */ (interactiveFormSessionId: string, options?: SendUserMessageOptions): Promise & { __applicationErrorsType?: SendUserMessageApplicationErrors; }>; } declare function sendUserMessageStreamed$1(httpClient: HttpClient): SendUserMessageStreamedSignature; interface SendUserMessageStreamedSignature { /** * Submits a user message to an existing interactive form session and processes the conversational input, with real-time streaming. * * For implementations that prefer to wait for the complete response, call [Send User Message](https://dev.wix.com/docs/api-reference/crm/forms/interactive-form-sessions/send-user-message) instead. * @param - Interactive form session ID to send the message to. */ (interactiveFormSessionId: string, options?: SendUserMessageStreamedOptions): Promise & { __applicationErrorsType?: SendUserMessageStreamedApplicationErrors; }>; } declare function generateFormSummary$1(httpClient: HttpClient): GenerateFormSummarySignature; interface GenerateFormSummarySignature { /** * Generates an AI summary of a form's structure and purpose in natural language, based on the form's fields and configuration, of max 255 characters. * * The summary describes what the form collects and its intended use case, * useful for accessibility, previews, and AI-powered form discovery. * @param - Form object to generate a summary for. * Must include the form's fields and configuration. * @returns Response containing the generated form summary. */ (form: Form): Promise; } declare const onInteractiveFormSessionCreated$1: EventDefinition; declare const createInteractiveFormSession: MaybeContext & typeof createInteractiveFormSession$1>; declare const createInteractiveFormSessionStreamed: MaybeContext & typeof createInteractiveFormSessionStreamed$1>; declare const sendUserMessage: MaybeContext & typeof sendUserMessage$1>; declare const sendUserMessageStreamed: MaybeContext & typeof sendUserMessageStreamed$1>; declare const generateFormSummary: MaybeContext & typeof generateFormSummary$1>; /** * Triggered when an interactive form session is created. */ declare const onInteractiveFormSessionCreated: BuildEventDefinition & typeof onInteractiveFormSessionCreated$1; export { CreateInteractiveFormSessionOptions, CreateInteractiveFormSessionStreamedOptions, CreateInteractiveFormSessionStreamedResponse, Form, GenerateFormSummaryApplicationErrors, GenerateFormSummaryResponse, InteractiveFormSession, InteractiveFormSessionCreatedEnvelope, SendUserMessageApplicationErrors, SendUserMessageOptions, SendUserMessageResponse, SendUserMessageStreamedApplicationErrors, SendUserMessageStreamedOptions, SendUserMessageStreamedResponse, createInteractiveFormSession, createInteractiveFormSessionStreamed, generateFormSummary, onInteractiveFormSessionCreated, sendUserMessage, sendUserMessageStreamed };