1 | import { UpdateListInput } from '.';
|
2 | export declare function useProductList(): {
|
3 | toggle: (articleNumber: string, { variantArticleNumber, quantity, description, productName }: UpdateListInput) => void;
|
4 | add: (articleNumber: string, { variantArticleNumber, quantity, description, productName }: UpdateListInput) => void;
|
5 | remove: (articleNumber: string, { variantArticleNumber }: UpdateListInput) => void;
|
6 | update: (articleNumber: string, { variantArticleNumber, quantity, description, variantToReplace }: UpdateListInput & {
|
7 | variantToReplace?: string;
|
8 | }) => void;
|
9 | clear: () => void;
|
10 | inList: (articleNumber: string, { variantArticleNumber }: UpdateListInput) => boolean;
|
11 | list: import(".").NormalizedProductList;
|
12 | count: number;
|
13 | };
|