import { Interval } from "@viacomcbs/broadcast-calendar"; import type { InventoryItem, InventoryItemInput, InventoryItemUpdateInput } from "../graphql"; import { State, Dispatch } from "../store/"; import { Request, RequestWithData, RequestAction } from "../store/requests"; import { InventoryItemsSliceState } from "../store/inventoryItems"; export declare const getAllInventoryItemsRequest: (publisherId: number) => (dispatch: Dispatch) => void; export declare const selectGetAllInventoryItemsRequest: (state: State) => RequestWithData; export declare const createInventoryItemRequest: (item?: InventoryItem | undefined) => (dispatch: Dispatch, _getState: () => State) => Promise; export declare const createInventoryItemsRequest: (items: InventoryItemInput[]) => (dispatch: Dispatch, _getState: () => State) => Promise; export declare const selectCreateInventoryItemsRequest: (state: State) => Request; export declare const removeInventoryItemRequest: (id: number) => (dispatch: Dispatch) => void; export declare const selectRemoveInventoryItemRequest: (id: number) => (state: State) => RequestWithData; export declare const restoreInventoryItemRequest: (id: number) => (dispatch: Dispatch) => void; export declare const selectRestoreInventoryItemRequest: (id: number) => (state: State) => RequestWithData; export declare type InventoryItemUpdate = Pick & InventoryItemUpdateInput; export declare const updateInventoryItemRequest: (updatedItem: InventoryItemUpdate) => (dispatch: Dispatch, getState: () => State) => Promise; export declare const selectUpdateInventoryItemRequest: (id: number) => (state: State) => RequestWithData; export declare const submitInventoryItemsRequest: (publisherId: number) => (dispatch: Dispatch) => Promise; export declare const clearSubmitInventoryItemsRequest: () => RequestAction; export declare const selectSubmitInventoryItemsRequest: () => (state: State) => Request; export declare const flushInventoryItemsRequest: ({ start, end }: Interval) => (dispatch: Dispatch) => Promise; export declare const selectFlushInventoryItemsRequest: () => (state: State) => Request; export declare const selectInventoryItemRequestsStatus: (id?: number | undefined) => ({ requests }: State) => boolean;