import { CommerceLayerClient, ListableResourceType } from '@commercelayer/sdk'; export declare function useToggleCheckboxValues(defaultValues: string[]): { values: string[]; toggleValue: (value: string) => void; setValues: (values: string[]) => void; }; /** * Simple helper to add the counter for selected options to a label * or just the total of available options when nothing is selected * @param options * @returns string * * @example * "Markets · 2 of 4" * "Markets · 4" */ export declare function computeLabelWithSelected({ label, selectedCount, totalCount, }: { label: string; selectedCount: number; totalCount?: number; }): string; type Resource = Awaited>[number]; /** * Helper to prepare the options for the checkbox group or mocked info to be used for skeleton. */ export declare function prepareCheckboxItemOrMock({ resource, isLoading, fieldForLabel, fieldForValue, }: { resource?: Resource; isLoading?: boolean; fieldForValue: string; fieldForLabel: string; }): { value: string; label: string; }; export {};