import * as Ex from "./AsyncExit"; import { InterruptionState } from "./InterruptionState"; import type { Async } from "./model"; export declare const runPromiseExitEnv_: ( async: Async, r: R, interruptionState?: InterruptionState ) => Promise>; export declare const runPromiseExit_: ( async: Async, interruptionState?: InterruptionState ) => Promise>; export declare const runPromiseExitInterrupt: ( async: Async ) => [Promise>, () => void]; export declare const runAsync: ( async: Async, onExit?: ((exit: Ex.AsyncExit) => void) | undefined ) => () => void; export declare const runAsyncEnv: ( async: Async, env: R, onExit?: ((exit: Ex.AsyncExit) => void) | undefined ) => () => void; //# sourceMappingURL=run.d.ts.map