import React from 'react'; import type { OperationOptions } from './types'; export interface ContextSpec { /** * If there is any operation marked “blocking” in progress. */ isBusy: boolean; /** * Takes a verb and a function that performs some action. * Returns a wrapper function that calls the given async action function * and updates the status in GUI. */ performOperation:

(gerund: string, func: (...args: P) => Promise, opts?: OperationOptions) => (...args: P) => Promise; } export declare const INITIAL_CONTEXT: ContextSpec; declare const OperationQueueContext: React.Context; export default OperationQueueContext;