import type { Except } from 'type-fest'; import type { ScayleAdminApiFetcher } from '../../http/admin-api-fetcher.js'; import { type SimpleEntityClient } from '../../entity-client/simple-entity-client/create-simple-entity-client.js'; import { type GetEntityCollectionOptions } from '../../entity-client/simple-entity-client/methods/get-entity-collection.js'; import type { Collection } from '../../entity-definitions/collection.js'; import { type AttributeGroupAttribute } from './schema/attribute-group-attribute-schema.js'; import { attributeGroupSchema, type AttributeGroup, type AttributeGroupMutationPayload, type FrontendName, type attributeGroupMutationPayloadSchema } from './schema/attribute-group-schema.js'; export type AttributeGroupEntityClientDependencies = { readonly adminApiFetcher: ScayleAdminApiFetcher; }; type AttributeGroupQueryParameters = Except & { readonly filters?: { readonly id?: number[]; readonly minId?: number; readonly maxId?: number; readonly level?: 'brand' | 'category' | 'image' | 'master' | 'product' | 'variant'; readonly type?: 'advanced' | 'advancedList' | 'localizedString' | 'localizedStringList' | 'simple' | 'simpleList'; }; }; type AttributeOfGroupQueryParams = Pick; export type AttributeGroupEntityClient = Except, 'update'> & { update: (attributeGroupName: string, payload: Except) => Promise; getAttributesOfGroup: (attributeGroupName: string, requestOptions?: AttributeOfGroupQueryParams) => Promise>; getAllAttributesOfGroup: (attributeGroupName: string) => Promise; deleteAttribute: (attributeGroupName: string, attributeValue: string) => Promise; createAttribute: (attributeGroupName: string, attributeValue: AttributeGroupAttribute) => Promise; updateAttribute: (attributeGroupName: string, oldAttributeValue: string, newAttributeValue: AttributeGroupAttribute) => Promise; updateFrontendNameOfGroup: (attributeGroupName: string, payload: FrontendName) => Promise; }; export declare function createAttributeGroupEntityClient(dependencies: AttributeGroupEntityClientDependencies): AttributeGroupEntityClient; export {}; //# sourceMappingURL=attribute-group-entity-client.d.ts.map