import type * as O from "../Option/index.js"; import type { Effect } from "./effect.js"; /** * Runs an effect when the supplied `PartialFunction` matches for the given value, otherwise does nothing. */ export declare function whenCase_(a: A, pf: (a: A) => O.Option>, __trace?: string): Effect; /** * Runs an effect when the supplied `PartialFunction` matches for the given value, otherwise does nothing. * * @dateFirst whenCase_ */ export declare function whenCase(pf: (a: A) => O.Option>, __trace?: string): (a: A) => Effect; //# sourceMappingURL=whenCase.d.ts.map