import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { GetSiteContributorsV2Options, GetSiteContributorsV2Response, GetCurrentContributorResponse, ChangeRoleOptions, ChangeContributorRoleResponse, ChangeContributorLocationOptions, ChangeContributorLocationResponse, QuerySiteContributorsOptions, QuerySiteContributorsResponse, GetContributorsQuotaResponse, 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, GetCurrentContributorRequest, GetCurrentUserRolesRequest, GetCurrentUserRolesResponse, GetSiteContributorsRequest, GetSiteContributorsResponse, GetSiteContributorsV2Request, 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'; /** @internal */ declare function getSiteContributorsV2$1(httpClient: HttpClient): GetSiteContributorsV2Signature; interface GetSiteContributorsV2Signature { /** * returns a list of all the contributors + invites to be contributors of a given meta site ID taken from the * context. */ (options?: GetSiteContributorsV2Options): Promise>; } /** @internal */ declare function getCurrentContributor$1(httpClient: HttpClient): GetCurrentContributorSignature; interface GetCurrentContributorSignature { /** * Returns the current caller contributor's details for this site, including their roles and access. * The site is determined from the caller's authentication context. * If the caller is not a contributor to the site, a `NOT_FOUND` error is returned. */ (): Promise>; } 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>; } /** @internal */ declare function getContributorsQuota$1(httpClient: HttpClient): GetContributorsQuotaSignature; interface GetContributorsQuotaSignature { /** * returns the quota information for contributors on the given site. */ (): 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; /** @internal */ declare const getSiteContributorsV2: MaybeContext & typeof getSiteContributorsV2$1>; /** @internal */ declare const getCurrentContributor: MaybeContext & typeof getCurrentContributor$1>; declare const changeRole: MaybeContext & typeof changeRole$1>; declare const changeContributorLocation: MaybeContext & typeof changeContributorLocation$1>; declare const querySiteContributors: MaybeContext & typeof querySiteContributors$1>; /** @internal */ declare const getContributorsQuota: MaybeContext & typeof getContributorsQuota$1>; declare const removeContributor: MaybeContext & typeof removeContributor$1>; /** */ declare const onContributorCreated: BuildEventDefinition & typeof onContributorCreated$1; export { ChangeContributorLocationOptions, ChangeContributorLocationResponse, ChangeContributorRoleResponse, ChangeRoleOptions, ContributorCreatedEnvelope, GetContributorsQuotaResponse, GetCurrentContributorResponse, GetSiteContributorsV2Options, GetSiteContributorsV2Response, QuerySiteContributorsOptions, QuerySiteContributorsResponse, changeContributorLocation, changeRole, getContributorsQuota, getCurrentContributor, getSiteContributorsV2, onContributorCreated, querySiteContributors, removeContributor };