import type { ParseOptions, ParseResult } from "../types.js"; import { BaseSchema } from "../schemas/base.js"; /** * Parse input with the given schema. Throws ValidationError on failure. */ export declare function parse(schema: BaseSchema, input: unknown, options?: ParseOptions): T; /** * Parse input with the given schema. Returns a result object. */ export declare function safeParse(schema: BaseSchema, input: unknown, options?: ParseOptions): ParseResult; //# sourceMappingURL=parser.d.ts.map