import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { Icon, CreateIconOptions, UpdateIconMetadataIcon, SearchIconsOptions, SearchIconsResponse, BulkUpdateIconTagsOptions, BulkUpdateIconTagsResponse, BulkUpdateIconTagsApplicationErrors, BulkUpdateIconTagsByFilterOptions, BulkUpdateIconTagsByFilterResponse, BulkUpdateIconTagsByFilterApplicationErrors, SeedItem, BulkSeedIconsResponse } from './index.typings.mjs'; export { AccountInfo, ActionEvent, ApplicationError, BulkActionMetadata, BulkSeedIconsRequest, BulkUpdateIconTagsByFilterRequest, BulkUpdateIconTagsRequest, BulkUpdateIconTagsResult, CreateIconRequest, CreateIconResponse, CursorPaging, CursorPagingMetadata, Cursors, DeleteIconRequest, DeleteIconResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetIconRequest, GetIconResponse, IconFilter, IconTagsModified, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, RestoreInfo, SearchIconsRequest, SearchedIcon, SeedItemSourceOneOf, SeedResult, TagList, Tags, TenantScope, TenantScopeWithLiterals, UpdateIconMetadataRequest, UpdateIconMetadataResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs'; /** @internal */ declare function createIcon$1(httpClient: HttpClient): CreateIconSignature; interface CreateIconSignature { /** * Creates an Icon. On PUBLIC calls the icon's `msid` is set from the caller's * signed context; the request body's msid (if any) is ignored. On INTERNAL calls * the request may pass `private_msid` to scope the icon to a metasite, otherwise * the icon is created as global. * @param - Icon metadata to create. Read-only fields on `Icon` (id, revision, created_date, * updated_date, msid, media_file_id, media_url) are ignored. * @returns The created Icon. */ (icon: Icon, options?: NonNullablePaths): Promise>; } /** @internal */ declare function getIcon$1(httpClient: HttpClient): GetIconSignature; interface GetIconSignature { /** * Retrieves an Icon by ID. Enforces tenancy: returns the icon only if it is * global or owned by the caller's metasite. Returns NOT_FOUND otherwise. * @param - ID of the Icon to retrieve. * @returns The requested Icon. */ (iconId: string): Promise>; } /** @internal */ declare function updateIconMetadata$1(httpClient: HttpClient): UpdateIconMetadataSignature; interface UpdateIconMetadataSignature { /** * Updates metadata fields of an Icon (name, keywords, collection, category, type, * weight, description). The binary is immutable post-create; to replace bytes, * delete + create. Enforces tenancy on writes (PUBLIC: only on caller-owned * private icons; INTERNAL: any). * @param - Icon ID. * @returns Updated Icon. */ (_id: string, icon: NonNullablePaths): Promise>; } /** @internal */ declare function deleteIcon$1(httpClient: HttpClient): DeleteIconSignature; interface DeleteIconSignature { /** * Deletes an Icon by ID. Removes the Vespa document immediately; the Wix Media * binary is left in place and cleaned up by a periodic orphan-collector job. * Tenancy enforced (PUBLIC cannot delete globals or other clients' private icons). * @param - ID of the Icon to delete. */ (iconId: string): Promise; } /** @internal */ declare function searchIcons$1(httpClient: HttpClient): SearchIconsSignature; interface SearchIconsSignature { /** * Hybrid (BM25 + vector) search over icons. Always applies a tenancy filter: * returns global icons and the caller's own private icons by default, narrowable * via `filter.tenant_scope`. `filter.exclude_ids` drops specific icons from * results (useful for clients who don't want certain global icons to appear). */ (options?: SearchIconsOptions): Promise>; } /** @internal */ declare function bulkUpdateIconTags$1(httpClient: HttpClient): BulkUpdateIconTagsSignature; interface BulkUpdateIconTagsSignature { /** * Bulk-assign / unassign platform Tags on a list of icons (AIP-7025). * A tag that appears in both `assign_tags` and `unassign_tags` is assigned. * @param - Icons to update. */ (iconIds: string[], options?: BulkUpdateIconTagsOptions): Promise & { __applicationErrorsType?: BulkUpdateIconTagsApplicationErrors; }>; } /** @internal */ declare function bulkUpdateIconTagsByFilter$1(httpClient: HttpClient): BulkUpdateIconTagsByFilterSignature; interface BulkUpdateIconTagsByFilterSignature { /** * Bulk-assign / unassign platform Tags on icons matching a filter. Async — returns * a job id. An empty filter targets all icons. * @param - Filter selecting which icons to retag. Empty = all icons. */ (filter: Record, options?: BulkUpdateIconTagsByFilterOptions): Promise & { __applicationErrorsType?: BulkUpdateIconTagsByFilterApplicationErrors; }>; } /** @internal */ declare function bulkSeedIcons$1(httpClient: HttpClient): BulkSeedIconsSignature; interface BulkSeedIconsSignature { /** * INTERNAL one-off bulk seed for the initial 10k global catalog. Each item carries * either inline bytes or an external URL (which the service imports via Wix Media's * files/import). Capped at 100 items per request to stay under proto size limits; * callers paginate. * @param - Items to seed. Each item must carry either inline content or a source URL. */ (items: SeedItem[]): Promise>; } /** @internal */ declare const createIcon: MaybeContext & typeof createIcon$1>; /** @internal */ declare const getIcon: MaybeContext & typeof getIcon$1>; /** @internal */ declare const updateIconMetadata: MaybeContext & typeof updateIconMetadata$1>; /** @internal */ declare const deleteIcon: MaybeContext & typeof deleteIcon$1>; /** @internal */ declare const searchIcons: MaybeContext & typeof searchIcons$1>; /** @internal */ declare const bulkUpdateIconTags: MaybeContext & typeof bulkUpdateIconTags$1>; /** @internal */ declare const bulkUpdateIconTagsByFilter: MaybeContext & typeof bulkUpdateIconTagsByFilter$1>; /** @internal */ declare const bulkSeedIcons: MaybeContext & typeof bulkSeedIcons$1>; export { BulkSeedIconsResponse, BulkUpdateIconTagsApplicationErrors, BulkUpdateIconTagsByFilterApplicationErrors, BulkUpdateIconTagsByFilterOptions, BulkUpdateIconTagsByFilterResponse, BulkUpdateIconTagsOptions, BulkUpdateIconTagsResponse, CreateIconOptions, Icon, SearchIconsOptions, SearchIconsResponse, SeedItem, UpdateIconMetadataIcon, bulkSeedIcons, bulkUpdateIconTags, bulkUpdateIconTagsByFilter, createIcon, deleteIcon, getIcon, searchIcons, updateIconMetadata };