import type * as T from "../_internal/task"; import type { Managed } from "../model"; /** * Ensures that `f` is executed when this Managed is finalized, after * the existing finalizer. * * For usecases that need access to the Managed's result, see [[onExit]]. */ export declare const ensuring_: ( self: Managed, f: T.Task ) => Managed; /** * Ensures that `f` is executed when this Managed is finalized, after * the existing finalizer. * * For usecases that need access to the Managed's result, see [[onExit]]. */ export declare const ensuring: ( f: T.Task ) => (self: Managed) => Managed; //# sourceMappingURL=ensuring.d.ts.map