import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { Form, AddControlOptions, AddControlResponse, AddControlApplicationErrors, UpdateControlIdentifiers, UpdateControlOptions, UpdateControlResponse, UpdateControlApplicationErrors, DeleteControlIdentifiers, DeleteControlResponse, DeleteControlApplicationErrors, UpdateMessagesOptions, UpdateMessagesResponse, PublishDraftResponse, FormEventUpdatedEnvelope } from './index.typings.js'; export { AccountInfo, ActionEvent, AddControlOptionsControlOneOf, AddControlRequest, AddControlRequestControlOneOf, AdditionalGuestsControl, Address, AddressControl, AddressControlLabels, AddressLocation, AddressStreetOneOf, Agenda, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Badge, Banner, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CalendarLinks, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, Category, CategoryCounts, CellStyle, CheckboxControl, CheckoutFormMessages, CheckoutType, CheckoutTypeWithLiterals, CodeBlockData, CollapsibleListData, ColorData, Colors, ConferenceType, ConferenceTypeWithLiterals, Crop, CropWithLiterals, Dashboard, DateControl, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteControlRequest, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DiscardDraftRequest, DiscardDraftResponse, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DropdownControl, EmailControl, EmbedData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Event, EventData, EventDisplaySettings, EventStatus, EventStatusWithLiterals, EventType, EventTypeWithLiterals, EventUpdated, ExternalEvent, Feed, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, FormInputControlAdded, FormInputControlDeleted, FormInputControlUpdated, FormMessages, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetFormRequest, GetFormResponse, Gradient, GuestListConfig, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Input, InputControl, InputControlType, InputControlTypeWithLiterals, Item, ItemDataOneOf, ItemStyle, Keyword, Label, LabellingSettings, Labels, Layout, LayoutCellData, LayoutData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, Location, LocationType, LocationTypeWithLiterals, MapCoordinates, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Money, NameControl, NameControlLabels, Negative, NegativeResponseConfirmation, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Occurrence, Oembed, OnlineConferencing, OnlineConferencingConfig, OnlineConferencingSession, Option, OptionDesign, OptionLayout, OptionSelection, OptionSelectionSelectedOptionOneOf, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, PhoneControl, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Positive, PositiveResponseConfirmation, PricingData, PublishDraftRequest, RadioButtonControl, Recurrences, Registration, RegistrationClosedMessages, RegistrationStatus, RegistrationStatusWithLiterals, Rel, RequestedFields, RequestedFieldsWithLiterals, Resizing, ResizingWithLiterals, ResponseConfirmation, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, RsvpCollection, RsvpCollectionConfig, RsvpConfirmationMessages, RsvpConfirmationMessagesNegativeResponseConfirmation, RsvpConfirmationMessagesPositiveResponseConfirmation, RsvpFormMessages, RsvpStatusOptions, RsvpStatusOptionsWithLiterals, RsvpSummary, Scaling, ScalingWithLiterals, ScheduleConfig, Scheduling, SeoSchema, SeoSettings, Settings, ShapeData, ShapeDataStyles, SiteUrl, Source, SourceWithLiterals, Spoiler, SpoilerData, State, StateWithLiterals, Status, StatusWithLiterals, StreetAddress, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TaxConfig, TaxType, TaxTypeWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextControl, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Ticketing, TicketingConfig, TicketingSummary, TicketsConfirmationMessages, TicketsUnavailableMessages, Type, TypeWithLiterals, UpdateControlIdentifiersControlOneOf, UpdateControlOptionsControlOneOf, UpdateControlRequest, UpdateControlRequestControlOneOf, UpdateMessagesRequest, ValueType, ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VisitorType, VisitorTypeWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js'; declare function getForm$1(httpClient: HttpClient): GetFormSignature; interface GetFormSignature { /** * Retrieves an event registration form. * @param - Event ID to which the form belongs. * @param - Optional fields. * @returns Event form. * Form is visible to site visitors. */ (eventId: string): Promise>; } declare function addControl$1(httpClient: HttpClient): AddControlSignature; interface AddControlSignature { /** * Adds an input control to the form. The applied changes trigger form publishing. * @param - Event ID to which the form belongs. * @param - Optional fields. */ (eventId: string, options: AddControlOptions): Promise & { __applicationErrorsType?: AddControlApplicationErrors; }>; } declare function updateControl$1(httpClient: HttpClient): UpdateControlSignature; interface UpdateControlSignature { /** * Updates an existing input control in the form. The applied changes trigger form publishing. * @param - Optional fields. * @param - Identifies what form to update. */ (identifiers: NonNullablePaths, options?: UpdateControlOptions): Promise & { __applicationErrorsType?: UpdateControlApplicationErrors; }>; } declare function deleteControl$1(httpClient: HttpClient): DeleteControlSignature; interface DeleteControlSignature { /** * Deletes an input control from the form. The applied changes trigger form publishing. * @param - Identifies what form to delete. */ (identifiers: NonNullablePaths): Promise & { __applicationErrorsType?: DeleteControlApplicationErrors; }>; } declare function updateMessages$1(httpClient: HttpClient): UpdateMessagesSignature; interface UpdateMessagesSignature { /** * Updates a set of defined form messages that are displayed to a site visitor before, during, and after the registration flow. * Includes the configuration of form titles, response labels, "thank you" messages, and call-to-action texts. * @param - Event ID to which the form belongs. * @param - Optional fields. */ (eventId: string, options?: UpdateMessagesOptions): Promise>; } declare function publishDraft$1(httpClient: HttpClient): PublishDraftSignature; interface PublishDraftSignature { /** * Publishes the draft form. * @param - Event ID to which the form belongs. * @deprecated */ (eventId: string): Promise>; } declare function discardDraft$1(httpClient: HttpClient): DiscardDraftSignature; interface DiscardDraftSignature { /** * Clears all changes to the draft form. * @param - Event ID to which the form belongs. * @deprecated */ (eventId: string): Promise; } declare const onFormEventUpdated$1: EventDefinition; declare const getForm: MaybeContext & typeof getForm$1>; declare const addControl: MaybeContext & typeof addControl$1>; declare const updateControl: MaybeContext & typeof updateControl$1>; declare const deleteControl: MaybeContext & typeof deleteControl$1>; declare const updateMessages: MaybeContext & typeof updateMessages$1>; declare const publishDraft: MaybeContext & typeof publishDraft$1>; declare const discardDraft: MaybeContext & typeof discardDraft$1>; /** * Triggered when a form is updated or published. */ declare const onFormEventUpdated: BuildEventDefinition & typeof onFormEventUpdated$1; export { AddControlApplicationErrors, AddControlOptions, AddControlResponse, DeleteControlApplicationErrors, DeleteControlIdentifiers, DeleteControlResponse, Form, FormEventUpdatedEnvelope, PublishDraftResponse, UpdateControlApplicationErrors, UpdateControlIdentifiers, UpdateControlOptions, UpdateControlResponse, UpdateMessagesOptions, UpdateMessagesResponse, addControl, deleteControl, discardDraft, getForm, onFormEventUpdated, publishDraft, updateControl, updateMessages };