import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { Ribbon, GetRibbonOptions, UpdateRibbon, UpdateRibbonOptions, BulkCreateRibbonsOptions, BulkCreateRibbonsResponse, MaskedRibbon, BulkUpdateRibbonsOptions, BulkUpdateRibbonsResponse, GetOrCreateRibbonOptions, GetOrCreateRibbonResponse, BulkGetOrCreateRibbonsOptions, BulkGetOrCreateRibbonsResponse, BulkDeleteRibbonsResponse, RibbonCreatedEnvelope, RibbonDeletedEnvelope, RibbonUpdatedEnvelope, RibbonQuery, QueryRibbonsOptions, typedQueryRibbons, RibbonsQueryBuilder } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateRibbonsRequest, BulkDeleteRibbonsRequest, BulkGetOrCreateRibbonsForMigrationRequest, BulkGetOrCreateRibbonsForMigrationResponse, BulkGetOrCreateRibbonsRequest, BulkRibbonResult, BulkUpdateRibbonsRequest, CommonQueryWithEntityContext, CreateRibbonRequest, CreateRibbonResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DeleteRibbonRequest, DeleteRibbonResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, File, GetOrCreateRibbonRequest, GetRibbonRequest, GetRibbonResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, MessageEnvelope, Page, Pages, QueryRibbonsRequest, QueryRibbonsResponse, RecloneSiteRequest, RecloneSiteResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RibbonQuerySpec, RibbonsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, URI, URIs, UpdateRibbonRequest, UpdateRibbonResponse, V3BulkRibbonResult, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function createRibbon$1(httpClient: HttpClient): CreateRibbonSignature; interface CreateRibbonSignature { /** * Creates a ribbon. * * To assign the ribbon to a product, include the `ribbon.id` or `ribbon.name` when [creating](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/products-v3/create-product) or [updating](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/products-v3/update-product) a product. * @param - Ribbon to create. * @returns Created ribbon. */ (ribbon: NonNullablePaths): Promise>; } declare function getRibbon$1(httpClient: HttpClient): GetRibbonSignature; interface GetRibbonSignature { /** * Retrieves a ribbon. * @param - Ribbon ID. * @returns Ribbon. */ (ribbonId: string, options?: GetRibbonOptions): Promise>; } declare function updateRibbon$1(httpClient: HttpClient): UpdateRibbonSignature; interface UpdateRibbonSignature { /** * Updates a ribbon. * * * Each time the ribbon is updated, `revision` increments by 1. * The current `revision` must be passed when updating the ribbon. * This ensures you're working with the latest ribbon and prevents unintended overwrites. * @param - Ribbon ID. * @returns Updated Ribbon. */ (_id: string, ribbon: NonNullablePaths, options?: UpdateRibbonOptions): Promise>; } declare function deleteRibbon$1(httpClient: HttpClient): DeleteRibbonSignature; interface DeleteRibbonSignature { /** * Deletes a ribbon. * * * > **Note:** Deleting a ribbon will also remove it from all products it is assigned to. * @param - Ribbon ID. */ (ribbonId: string): Promise; } declare function bulkCreateRibbons$1(httpClient: HttpClient): BulkCreateRibbonsSignature; interface BulkCreateRibbonsSignature { /** * Creates multiple ribbons. * @param - Ribbons to create. */ (ribbons: NonNullablePaths[], options?: BulkCreateRibbonsOptions): Promise>; } declare function bulkUpdateRibbons$1(httpClient: HttpClient): BulkUpdateRibbonsSignature; interface BulkUpdateRibbonsSignature { /** * Updates multiple ribbons. * * Each time a ribbon is updated, `revision` increments by 1. * The current `revision` must be passed when updating a ribbon. * This ensures you're working with the latest ribbon and prevents unintended overwrites. * @param - List of ribbons to update. */ (ribbons: NonNullablePaths[], options?: BulkUpdateRibbonsOptions): Promise>; } declare function getOrCreateRibbon$1(httpClient: HttpClient): GetOrCreateRibbonSignature; interface GetOrCreateRibbonSignature { /** * Retrieves a ribbon by name, or creates a ribbon if one with the passed `ribbonName` doesn't exist. * @param - Ribbon name to retrieve or create. */ (ribbonName: string, options?: GetOrCreateRibbonOptions): Promise>; } declare function bulkGetOrCreateRibbons$1(httpClient: HttpClient): BulkGetOrCreateRibbonsSignature; interface BulkGetOrCreateRibbonsSignature { /** * Retrieves multiple ribbons by name, or creates multiple ribbons if those with the passed `ribbonNames` don't exist. * @param - Ribbon names to retrieve or create. */ (ribbonNames: string[], options?: BulkGetOrCreateRibbonsOptions): Promise>; } declare function bulkDeleteRibbons$1(httpClient: HttpClient): BulkDeleteRibbonsSignature; interface BulkDeleteRibbonsSignature { /** * Deletes multiple ribbons. * @param - IDs of ribbons to delete. */ (ribbonIds: string[]): Promise>; } declare const onRibbonCreated$1: EventDefinition; declare const onRibbonDeleted$1: EventDefinition; declare const onRibbonUpdated$1: EventDefinition; declare function customQueryRibbons(httpClient: HttpClient): { (query: RibbonQuery, options?: QueryRibbonsOptions): ReturnType; (options?: QueryRibbonsOptions): RibbonsQueryBuilder; }; declare const createRibbon: MaybeContext & typeof createRibbon$1>; declare const getRibbon: MaybeContext & typeof getRibbon$1>; declare const updateRibbon: MaybeContext & typeof updateRibbon$1>; declare const deleteRibbon: MaybeContext & typeof deleteRibbon$1>; declare const bulkCreateRibbons: MaybeContext & typeof bulkCreateRibbons$1>; declare const bulkUpdateRibbons: MaybeContext & typeof bulkUpdateRibbons$1>; declare const getOrCreateRibbon: MaybeContext & typeof getOrCreateRibbon$1>; declare const bulkGetOrCreateRibbons: MaybeContext & typeof bulkGetOrCreateRibbons$1>; declare const bulkDeleteRibbons: MaybeContext & typeof bulkDeleteRibbons$1>; declare const queryRibbons: MaybeContext & typeof customQueryRibbons>; /** */ declare const onRibbonCreated: BuildEventDefinition & typeof onRibbonCreated$1; /** */ declare const onRibbonDeleted: BuildEventDefinition & typeof onRibbonDeleted$1; /** */ declare const onRibbonUpdated: BuildEventDefinition & typeof onRibbonUpdated$1; export { BulkCreateRibbonsOptions, BulkCreateRibbonsResponse, BulkDeleteRibbonsResponse, BulkGetOrCreateRibbonsOptions, BulkGetOrCreateRibbonsResponse, BulkUpdateRibbonsOptions, BulkUpdateRibbonsResponse, GetOrCreateRibbonOptions, GetOrCreateRibbonResponse, GetRibbonOptions, MaskedRibbon, QueryRibbonsOptions, Ribbon, RibbonCreatedEnvelope, RibbonDeletedEnvelope, RibbonQuery, RibbonUpdatedEnvelope, RibbonsQueryBuilder, UpdateRibbon, UpdateRibbonOptions, bulkCreateRibbons, bulkDeleteRibbons, bulkGetOrCreateRibbons, bulkUpdateRibbons, createRibbon, deleteRibbon, getOrCreateRibbon, getRibbon, onRibbonCreated, onRibbonDeleted, onRibbonUpdated, queryRibbons, updateRibbon };