import { i as ok, n as ResultAsync, r as err, t as Result } from "./result-Dg2-rfn6.js"; import { P, match } from "ts-pattern"; export * from "es-toolkit"; //#region src/fp/transform.d.ts /** * Normalize an unknown caught value into an Error instance. * * If already an Error, returns it as-is. Otherwise wraps via `new Error(String(value))`. * * @param value - The unknown value to normalize. * @returns An Error instance. */ declare function toError(value: unknown): Error; //#endregion export { P, Result, ResultAsync, err, match, ok, toError }; //# sourceMappingURL=fp.d.ts.map