import { EventDefinition, HttpClient } from '@wix/sdk-types'; import { AddControlOptions, AddControlResponse, AddControlResponseNonNullableFields, DeleteControlIdentifiers, DeleteControlResponse, DeleteControlResponseNonNullableFields, Form, FormEventUpdatedEnvelope, FormNonNullableFields, PublishDraftResponse, PublishDraftResponseNonNullableFields, UpdateControlIdentifiers, UpdateControlOptions, UpdateControlResponse, UpdateControlResponseNonNullableFields, UpdateMessagesOptions, UpdateMessagesResponse, UpdateMessagesResponseNonNullableFields } from './events-v1-form-forms.universal.js'; export declare const __metadata: { PACKAGE_NAME: string; }; export declare function getForm(httpClient: HttpClient): GetFormSignature; interface GetFormSignature { /** * Retrieves an event registration form (both the draft and published versions). * @param - Event ID to which the form belongs. * @param - Optional fields. * @returns Currently published event form. * Published form is visible to site visitors. */ (eventId: string): Promise
; } export declare function addControl(httpClient: HttpClient): AddControlSignature; interface AddControlSignature { /** * Adds an input control to the draft form. * @param - Event ID to which the form belongs. * @param - Optional fields. */ (eventId: string, options?: AddControlOptions | undefined): Promise; } export declare function updateControl(httpClient: HttpClient): UpdateControlSignature; interface UpdateControlSignature { /** * Updates an existing input control in the draft form. * @param - Optional fields. * @param - Identifies what form to update. */ (identifiers: UpdateControlIdentifiers, options?: UpdateControlOptions | undefined): Promise; } export declare function deleteControl(httpClient: HttpClient): DeleteControlSignature; interface DeleteControlSignature { /** * Deletes an input control from the draft form. * @param - Identifies what form to delete. */ (identifiers: DeleteControlIdentifiers): Promise; } export declare function updateMessages(httpClient: HttpClient): UpdateMessagesSignature; interface UpdateMessagesSignature { /** * Updates draft form messages, as displayed in the Wix UI before, during, and after the registration flow. * Configurable messages include 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 | undefined): Promise; } export declare function publishDraft(httpClient: HttpClient): PublishDraftSignature; interface PublishDraftSignature { /** * Publishes the draft form. * @param - Event ID to which the form belongs. */ (eventId: string): Promise; } export declare function discardDraft(httpClient: HttpClient): DiscardDraftSignature; interface DiscardDraftSignature { /** * Clears all changes to the draft form. * @param - Event ID to which the form belongs. */ (eventId: string): Promise; } export declare const onFormEventUpdated: EventDefinition; export { ActionEvent, AddControlOptions, AddControlRequest, AddControlRequestControlOneOf, AddControlResponse, AddControlResponseNonNullableFields, AdditionalGuestsControl, Address, AddressControl, AddressControlLabels, AddressLocation, AddressStreetOneOf, Agenda, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulletedListData, ButtonData, CalendarLinks, CaptionData, Category, CategoryCounts, CellStyle, CheckboxControl, CheckoutFormMessages, CodeBlockData, CollapsibleListData, ColorData, Colors, ConferenceType, Crop, Dashboard, DateControl, Decoration, DecorationDataOneOf, DecorationType, DeleteControlIdentifiers, DeleteControlRequest, DeleteControlResponse, DeleteControlResponseNonNullableFields, Design, Dimensions, Direction, DiscardDraftRequest, DiscardDraftResponse, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DropdownControl, EmailControl, EmbedData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Event, EventData, EventDisplaySettings, EventStatus, EventType, EventUpdated, ExternalEvent, Feed, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, Form, FormEventUpdatedEnvelope, FormInputControlAdded, FormInputControlDeleted, FormInputControlUpdated, FormMessages, FormNonNullableFields, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GetFormRequest, GetFormResponse, GetFormResponseNonNullableFields, Gradient, GuestListConfig, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, InitialExpandedItems, Input, InputControl, InputControlType, Item, ItemDataOneOf, ItemStyle, Keyword, Label, LabellingSettings, Labels, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, ListValue, Location, LocationType, MapCoordinates, MapData, MapSettings, MapType, Media, MentionData, MessageEnvelope, Metadata, Money, NameControl, NameControlLabels, Negative, NegativeResponseConfirmation, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Occurrence, Oembed, OnlineConferencing, OnlineConferencingConfig, OnlineConferencingSession, Option, OptionDesign, OptionLayout, OptionSelection, OptionSelectionSelectedOptionOneOf, OrderedListData, Orientation, PDFSettings, ParagraphData, Permissions, PhoneControl, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Positive, PositiveResponseConfirmation, PublishDraftRequest, PublishDraftResponse, PublishDraftResponseNonNullableFields, RadioButtonControl, Recurrences, Registration, RegistrationClosedMessages, RegistrationStatus, Rel, RequestedFields, ResponseConfirmation, RestoreInfo, RichContent, RsvpCollection, RsvpCollectionConfig, RsvpFormMessages, RsvpStatusOptions, RsvpSummary, ScheduleConfig, Scheduling, SeoSchema, SeoSettings, Settings, SiteUrl, Source, Spoiler, SpoilerData, State, Status, StreetAddress, Styles, Subdivision, SubdivisionType, TableCellData, TableData, Tag, Target, TaxConfig, TaxType, TextAlignment, TextControl, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Ticketing, TicketingConfig, TicketingSummary, TicketsUnavailableMessages, Type, UpdateControlIdentifiers, UpdateControlOptions, UpdateControlRequest, UpdateControlRequestControlOneOf, UpdateControlResponse, UpdateControlResponseNonNullableFields, UpdateMessagesOptions, UpdateMessagesRequest, UpdateMessagesResponse, UpdateMessagesResponseNonNullableFields, ValueType, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VisitorType, VoteRole, WebhookIdentityType, Width, WidthType, } from './events-v1-form-forms.universal.js';