import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { GetSignOnPolicyResponse, GetSignOnPolicyApplicationErrors, SignOnPolicy, UpdateSignOnPolicyApplicationErrors, SignOnPolicyUpdatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, Asset, BaseEventMetadata, DeleteContext, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, EditorlessAssigned, EditorlessUnassigned, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, GetSignOnPolicyRequest, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, PicassoAssigned, PicassoUnassigned, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, UpdateSignOnPolicyRequest, UpdateSignOnPolicyResponse, UserDomainMediaDisabled, UserDomainMediaEnabled, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js'; declare function getSignOnPolicy$1(httpClient: HttpClient): GetSignOnPolicySignature; interface GetSignOnPolicySignature { /** * Retrieves the calling site's sign-on policy. * * The request takes no parameters. The site is resolved from the request context. * * A site that has never updated its policy still gets a successful response, * with each requirement set to its default of `false`. * * The response currently contains `requireOwnerApproval` and `requireEmailVerification`. * * This method needs a minimum amount of time left on the request deadline, * 200 ms by default. A call that arrives with less time remaining fails with * `INSUFFICIENT_DEADLINE_BUDGET`. */ (): Promise & { __applicationErrorsType?: GetSignOnPolicyApplicationErrors; }>; } declare function updateSignOnPolicy$1(httpClient: HttpClient): UpdateSignOnPolicySignature; interface UpdateSignOnPolicySignature { /** * Updates the calling site's sign-on policy. * * Partial updates are supported. Specify only the requirements you want to change, * and the rest keep their current values. * * Changing the policy affects members who sign up from that point on. * Existing members aren't re-evaluated, so turning on `requireOwnerApproval` * doesn't move already-active members back to pending. * * Fails with `NOT_FOUND` when the site doesn't have a sign-on policy yet, * and with `INVALID_ARGUMENT` when the request contains an unsupported value. * @param - Sign-on policy to update. Can be partial, and omitted requirements keep their current values. * @returns Updated sign-on policy. */ (signOnPolicy: SignOnPolicy): Promise & { __applicationErrorsType?: UpdateSignOnPolicyApplicationErrors; }>; } declare const onSignOnPolicyUpdated$1: EventDefinition; declare const getSignOnPolicy: MaybeContext & typeof getSignOnPolicy$1>; declare const updateSignOnPolicy: MaybeContext & typeof updateSignOnPolicy$1>; /** */ declare const onSignOnPolicyUpdated: BuildEventDefinition & typeof onSignOnPolicyUpdated$1; export { GetSignOnPolicyApplicationErrors, GetSignOnPolicyResponse, SignOnPolicy, SignOnPolicyUpdatedEnvelope, UpdateSignOnPolicyApplicationErrors, getSignOnPolicy, onSignOnPolicyUpdated, updateSignOnPolicy };