import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { UpdateIntakeFormExpirationPeriodOptions, UpdateIntakeFormExpirationPeriodResponse, CreateCustomerSubmissionLinkOptions, CreateCustomerSubmissionLinkResponse, CreateCustomerSubmissionLinkApplicationErrors, ArchiveIntakeFormResponse, UnarchiveIntakeFormResponse, IntakeFormsQueryBuilder, IntakeFormQuery, typedQueryIntakeForms } from './index.typings.js'; export { ActionEvent, ApprovalMode, ApprovalModeWithLiterals, ArchiveIntakeFormRequest, CommonQueryWithEntityContext, ContactDetails, CreateCustomerSubmissionLinkRequest, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DecryptContactDetailsFromTokenRequest, DecryptContactDetailsFromTokenResponse, DeleteIntakeFormRequest, DeleteIntakeFormResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, IntakeForm, IntakeFormQuerySpec, IntakeFormsQueryResult, PendingTriggerField, QueryIntakeFormsRequest, QueryIntakeFormsResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, UnarchiveIntakeFormRequest, UpdateIntakeFormExpirationPeriodRequest, UpdateIntakeFormSettingsRequest, UpdateIntakeFormSettingsResponse, utils } from './index.typings.js'; declare function updateIntakeFormExpirationPeriod$1(httpClient: HttpClient): UpdateIntakeFormExpirationPeriodSignature; interface UpdateIntakeFormExpirationPeriodSignature { /** * Updates the expiration period of a specific intake form. * * When you update the expiration period, the system recalculates expiration for all existing submissions. * @param - Intake form ID. */ (intakeFormId: string, options?: NonNullablePaths): Promise; } declare function createCustomerSubmissionLink$1(httpClient: HttpClient): CreateCustomerSubmissionLinkSignature; interface CreateCustomerSubmissionLinkSignature { /** * Creates a shareable link for customers to submit an intake form. * * The link is valid for 72 hours. * @param - Intake form ID. */ (intakeFormId: string, options?: CreateCustomerSubmissionLinkOptions): Promise; } declare function deleteIntakeForm$1(httpClient: HttpClient): DeleteIntakeFormSignature; interface DeleteIntakeFormSignature { /** * Deletes an intake form. * * * Also deletes the underlying [Wix form](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/introduction). * * Existing [submissions](https://dev.wix.com/docs/api-reference/crm/forms/other-services/intake-forms/intake-form-submissions/introduction) for the intake form aren't automatically deleted but become orphaned. * When [querying submissions](https://dev.wix.com/docs/api-reference/crm/forms/other-services/intake-forms/intake-form-submissions/query-intake-form-submissions), orphaned submissions aren't returned. * @param - Intake form ID. */ (intakeFormId: string): Promise; } declare function archiveIntakeForm$1(httpClient: HttpClient): ArchiveIntakeFormSignature; interface ArchiveIntakeFormSignature { /** * Archives an intake form, disabling it from accepting new submissions. * * Existing submissions remain accessible. You can [unarchive](https://dev.wix.com/docs/api-reference/crm/forms/other-services/intake-forms/intake-forms/unarchive-intake-form) the form later to resume accepting submissions. * @param - Intake form ID. * @param - Revision number, which increments by 1 each time the intake form is updated. * To prevent conflicting changes, you must specify the current revision when updating the intake form. */ (intakeFormId: string, formRevision: string): Promise; } declare function unarchiveIntakeForm$1(httpClient: HttpClient): UnarchiveIntakeFormSignature; interface UnarchiveIntakeFormSignature { /** * Unarchives an intake form, enabling it to accept new submissions. * @param - Intake form ID. * @param - Revision number, which increments by 1 each time the intake form is updated. * To prevent conflicting changes, you must specify the current revision when updating the intake form. */ (intakeFormId: string, formRevision: string): Promise; } declare function customQueryIntakeForms(httpClient: HttpClient): { (): IntakeFormsQueryBuilder; (query: IntakeFormQuery): ReturnType; }; declare const updateIntakeFormExpirationPeriod: MaybeContext & typeof updateIntakeFormExpirationPeriod$1>; declare const createCustomerSubmissionLink: MaybeContext & typeof createCustomerSubmissionLink$1>; declare const deleteIntakeForm: MaybeContext & typeof deleteIntakeForm$1>; declare const archiveIntakeForm: MaybeContext & typeof archiveIntakeForm$1>; declare const unarchiveIntakeForm: MaybeContext & typeof unarchiveIntakeForm$1>; declare const queryIntakeForms: MaybeContext & typeof customQueryIntakeForms>; export { ArchiveIntakeFormResponse, CreateCustomerSubmissionLinkApplicationErrors, CreateCustomerSubmissionLinkOptions, CreateCustomerSubmissionLinkResponse, IntakeFormQuery, IntakeFormsQueryBuilder, UnarchiveIntakeFormResponse, UpdateIntakeFormExpirationPeriodOptions, UpdateIntakeFormExpirationPeriodResponse, archiveIntakeForm, createCustomerSubmissionLink, deleteIntakeForm, queryIntakeForms, unarchiveIntakeForm, updateIntakeFormExpirationPeriod };