export type WorkflowPayload = Record | undefined; type Key = string; /** * The workflows context is a generic way to mark and track any long-running as in-progress. * For example, all mutation hooks (eg: usePostFunc) automatically are automatically tracked * as workflows using their unique route key. */ export declare const useWorkflows: () => { setWorkflow: (key: Key, item?: WorkflowPayload) => void; removeWorkflow: (key: Key) => void; resetWorkflows: () => void; workflows: WorkflowPayload[]; }; type Props = { children: React.ReactNode; }; export declare function WorkflowsProvider({ children }: Props): import("react/jsx-runtime").JSX.Element; export {};