import * as core from "../core/index.cjs"; import { type ZodError } from "./errors.cjs"; export type ZodSafeParseResult = ZodSafeParseSuccess | ZodSafeParseError; export type ZodSafeParseSuccess = { success: true; data: T; error?: never; }; export type ZodSafeParseError = { success: false; data?: never; error: ZodError; }; export declare const parse: (schema: T, value: unknown, _ctx?: core.ParseContext, _params?: { callee?: core.util.AnyFunc; Err?: core.$ZodErrorClass; }) => core.output; export declare const parseAsync: (schema: T, value: unknown, _ctx?: core.ParseContext, _params?: { callee?: core.util.AnyFunc; Err?: core.$ZodErrorClass; }) => Promise>; export declare const safeParse: (schema: T, value: unknown, _ctx?: core.ParseContext) => ZodSafeParseResult>; export declare const safeParseAsync: (schema: T, value: unknown, _ctx?: core.ParseContext) => Promise>>;