export type RunManager = Readonly<{ isRunning: boolean; schedule: () => void; cancel: () => void; }>; export declare function useRunManager(config: { onRun: (signal: AbortSignal) => Promise; onFinish?: (() => void) | undefined; onCancel?: (() => void) | undefined; onError?: ((error: Error) => void | Promise) | undefined; }): RunManager; //# sourceMappingURL=runManager.d.ts.map