import { ItemType, Item, ProductItem, Query, ItemID } from './types'; export declare function setItem(itemType: ItemType, id: ItemID, item: Item): { type: "SET_ITEM"; id: ItemID; item: Item; itemType: ItemType; }; export declare function setItems(itemType: ItemType, query: Query, items: Item[], totalCount?: number): { type: "SET_ITEMS"; items: Item[]; itemType: ItemType; query: Partial; totalCount: number | undefined; }; export declare function setItemsTotalCount(itemType: ItemType, query: Query, totalCount: number): { type: "SET_ITEMS_TOTAL_COUNT"; itemType: ItemType; query: Partial; totalCount: number; }; export declare function setError(itemType: ItemType | 'createProductFromTemplate', query: Record, error: unknown): { type: "SET_ERROR"; itemType: ItemType | "createProductFromTemplate"; query: Record; error: unknown; }; export declare function updateProductStock(product: Partial & { id: ProductItem['id']; }, quantity: number): Generator<{ type: string; request: import("@wordpress/api-fetch/build-types/types").APIFetchOptions; } | { type: "SET_ITEM"; id: ItemID; item: Item; itemType: ItemType; } | { type: "SET_ERROR"; itemType: ItemType | "createProductFromTemplate"; query: Record; error: unknown; }, boolean, unknown>; export declare function createProductFromTemplate(itemFields: { template_name: string; status: string; }, query: Query): Generator<{ type: string; request: import("@wordpress/api-fetch/build-types/types").APIFetchOptions; } | { type: "SET_ITEM"; id: ItemID; item: Item; itemType: ItemType; } | { type: "SET_ERROR"; itemType: ItemType | "createProductFromTemplate"; query: Record; error: unknown; }, { id: ProductItem["id"]; }, { id: ProductItem["id"]; }>; export type Action = ReturnType; //# sourceMappingURL=actions.d.ts.map