import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { ChangeRoleOptions, ChangeContributorRoleResponse, ChangeContributorLocationOptions, ChangeContributorLocationResponse, QuerySiteContributorsOptions, QuerySiteContributorsResponse, ContributorCreatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, ApiAccountInfo, AppInvite, AssignedPolicy, Assignment, BaseEventMetadata, BulkGetUserRolesOnSiteRequest, BulkGetUserRolesOnSiteResponse, BulkValidateEmailInviteEligibilityRequest, BulkValidateEmailInviteEligibilityResponse, ChangeContributorLocationRequest, ChangeContributorRoleRequest, CompanionResource, Condition, ConditionAttributeType, ConditionAttributeTypeWithLiterals, Conditions, Contributor, ContributorLimit, ContributorV2, ContributorsQuota, ContributorsQuotaOptionsOneOf, DomainEvent, DomainEventBodyOneOf, EmailInviteEligibility, EnrichedSiteInvite, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, FieldSet, FieldSetWithLiterals, GetAppContributorsRequest, GetAppContributorsResponse, GetContributorsQuotaRequest, GetContributorsQuotaResponse, GetCurrentUserRolesRequest, GetCurrentUserRolesResponse, GetSiteContributorsRequest, GetSiteContributorsResponse, GetSiteContributorsV2Options, GetSiteContributorsV2Request, GetSiteContributorsV2Response, HandleSiteTransferRequest, HandleSiteTransferResponse, IdentificationData, IdentificationDataIdOneOf, InviteStatus, InviteStatusWithLiterals, LimitedOptions, LocalizedPolicyInfo, LocalizedRole, LocationsRestriction, MessageEnvelope, Name, PendingOwner, PersonMetaData, Policy, PredefinedRole, PredefinedRoles, QuerySiteContributorsFilter, QuerySiteContributorsRequest, RemoveContributorRequest, RemoveContributorResponse, Resource, ResourceType, ResourceTypeWithLiterals, RestoreInfo, Restriction, RestrictionRestrictionsOneOf, Role, SiteInvite, SiteLocationAssignment, SiteRestriction, SiteRoleAssignment, Subject, SubjectContext, SubjectContextType, SubjectContextTypeWithLiterals, SubjectType, SubjectTypeWithLiterals, Team, Type, TypeWithLiterals, User, UserLocalizedRoles, UserSubject, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function changeRole$1(httpClient: HttpClient): ChangeRoleSignature; interface ChangeRoleSignature { /** * Updates all of a contributor's roles for the specified site, overriding any existing roles. * * Replaces all existing role assignments for the contributor with the roles specified in `newRoles`. To retrieve available roles, call [Get Roles Info](https://dev.wix.com/docs/api-reference/account-level/user-management/accounts/users/get-roles-info). * @param - Contributor's account ID. * @param - Filter options. The `newRoles` field **must** be passed. */ (accountId: string, options: NonNullablePaths): Promise>; } declare function changeContributorLocation$1(httpClient: HttpClient): ChangeContributorLocationSignature; interface ChangeContributorLocationSignature { /** * Updates the business locations within all a contributor's role assignments for the specified site, overriding any existing locations. * * Replaces all existing location assignments for the contributor's roles with the locations specified in `newLocations`. Get location IDs from the [Locations API](https://dev.wix.com/docs/api-reference/business-management/locations/introduction). * @param - Contributor's account ID. */ (accountId: string, options: NonNullablePaths): Promise>; } declare function querySiteContributors$1(httpClient: HttpClient): QuerySiteContributorsSignature; interface QuerySiteContributorsSignature { /** * Retrieves a list of contributors for the specified site, given the provided filters. * * Returns contributor account IDs and account owner IDs that match the specified filters. * @param - Filter options. */ (options?: QuerySiteContributorsOptions): Promise>; } declare function removeContributor$1(httpClient: HttpClient): RemoveContributorSignature; interface RemoveContributorSignature { /** * Removes a contributor from the site by clearing all their role assignments. * @param - Contributor's account ID to remove from the site. */ (accountId: string): Promise; } declare const onContributorCreated$1: EventDefinition; declare const changeRole: MaybeContext & typeof changeRole$1>; declare const changeContributorLocation: MaybeContext & typeof changeContributorLocation$1>; declare const querySiteContributors: MaybeContext & typeof querySiteContributors$1>; declare const removeContributor: MaybeContext & typeof removeContributor$1>; /** */ declare const onContributorCreated: BuildEventDefinition & typeof onContributorCreated$1; export { ChangeContributorLocationOptions, ChangeContributorLocationResponse, ChangeContributorRoleResponse, ChangeRoleOptions, ContributorCreatedEnvelope, QuerySiteContributorsOptions, QuerySiteContributorsResponse, changeContributorLocation, changeRole, onContributorCreated, querySiteContributors, removeContributor };