import { output, ZodEffects, ZodObject, ZodRawShape, ZodTypeAny } from "zod/v3"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { Result } from "../types/fp.js"; /** * Utility function that executes some code which may throw a ZodError. It * intercepts this error and converts it to an SDKValidationError so as to not * leak Zod implementation details to user code. */ export declare function parse(rawValue: Inp, fn: (value: Inp) => Out, errorMessage: string): Out; /** * Utility function that executes some code which may result in a ZodError. It * intercepts this error and converts it to an SDKValidationError so as to not * leak Zod implementation details to user code. */ export declare function safeParse(rawValue: Inp, fn: (value: Inp) => Out, errorMessage: string): Result; export declare function collectExtraKeys(obj: ZodObject, extrasKey: K, optional: boolean): ZodEffects> & { [k in K]: Record>; }>; //# sourceMappingURL=schemas.d.ts.map