export function prepareAsyncFlowTools(outerZone: Zone, outerOptions?: PreparationOptions): { prepareAsyncFlowKit: (zone: Zone, tag: string, guestAsyncFunc: GuestAsyncFunc, options?: { startEager?: boolean; }) => (activationArgs: any) => import("@endo/exo").GuardedKit<{ flow: { /** * @returns {FlowState} */ getFlowState(): FlowState; /** * Calls the guest function, either for the initial run or at the * start of a replay. * * @param {boolean} [eager] */ restart(eager?: boolean): void; wake(): void; getOutcome(): import("@agoric/vow").Vow; dump(): ([op: "doFulfill", vow: import("@agoric/vow").Vow, fulfillment: import("@endo/pass-style").Passable] | [op: "doReject", vow: import("@agoric/vow").Vow, reason: import("@endo/pass-style").Passable] | [op: "doReturn", callIndex: number, result: import("@endo/pass-style").Passable] | [op: "doThrow", callIndex: number, problem: import("@endo/pass-style").Passable] | [op: "checkCall", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number] | [op: "checkSendOnly", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number] | [op: "checkSend", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number])[]; getOptFatalProblem(): any; }; admin: { reset(): void; complete(): void; panic(fatalProblem: any): never; }; wakeWatcher: { onFulfilled(_fulfillment: any): void; onRejected(_fulfillment: any): void; }; }>; asyncFlow: (zone: Zone, tag: string, guestFunc: F, options?: { startEager?: boolean; }) => HostOf; adminAsyncFlow: import("@endo/exo").Guarded<{ getFailures(): import("@endo/patterns").CopyMap; wakeAll(): void; getFlowForOutcomeVow(outcomeVow: any): any; }>; allWokenP: Promise; prepareEndowment: (zone: Zone, tag: string, e: unknown) => any; }; export type AsyncFlowTools = ReturnType<(outerZone: Zone, outerOptions?: PreparationOptions) => { prepareAsyncFlowKit: (zone: Zone, tag: string, guestAsyncFunc: GuestAsyncFunc, options?: { startEager?: boolean; }) => (activationArgs: any) => import("@endo/exo").GuardedKit<{ flow: { /** * @returns {FlowState} */ getFlowState(): FlowState; /** * Calls the guest function, either for the initial run or at the * start of a replay. * * @param {boolean} [eager] */ restart(eager?: boolean): void; wake(): void; getOutcome(): import("@agoric/vow").Vow; dump(): ([op: "doFulfill", vow: import("@agoric/vow").Vow, fulfillment: import("@endo/pass-style").Passable] | [op: "doReject", vow: import("@agoric/vow").Vow, reason: import("@endo/pass-style").Passable] | [op: "doReturn", callIndex: number, result: import("@endo/pass-style").Passable] | [op: "doThrow", callIndex: number, problem: import("@endo/pass-style").Passable] | [op: "checkCall", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number] | [op: "checkSendOnly", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number] | [op: "checkSend", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number])[]; getOptFatalProblem(): any; }; admin: { reset(): void; complete(): void; panic(fatalProblem: any): never; }; wakeWatcher: { onFulfilled(_fulfillment: any): void; onRejected(_fulfillment: any): void; }; }>; asyncFlow: (zone: Zone, tag: string, guestFunc: F, options?: { startEager?: boolean; }) => HostOf; adminAsyncFlow: import("@endo/exo").Guarded<{ getFailures(): import("@endo/patterns").CopyMap; wakeAll(): void; getFlowForOutcomeVow(outcomeVow: any): any; }>; allWokenP: Promise; prepareEndowment: (zone: Zone, tag: string, e: unknown) => any; }>; export type AdminAsyncFlow = AsyncFlowTools["adminAsyncFlow"]; export type MakeAsyncFlowKit = ReturnType; export type AsyncFlowKit = ReturnType; export type AsyncFlow = AsyncFlowKit["flow"]; import type { Zone } from '@agoric/base-zone'; import type { PreparationOptions } from '../src/types.js'; import type { GuestAsyncFunc } from '../src/types.js'; import type { FlowState } from '../src/types.js'; import type { HostOf } from '../src/types.js'; //# sourceMappingURL=async-flow.d.ts.map