import type { AnySchema, InferSchema } from "./types.js"; /** * Parse payload data with a Standard Schema validator. * * @remarks * Standard Schema issues are thrown as-is here; document APIs catch them and * wrap them in stable {@link BecomesError} codes. * * @param schema - Standard Schema v1 validator. * @param input - Unknown payload data to parse. * @returns Parsed payload with the type inferred from the schema. * @throws Standard Schema issues or `TypeError` when the schema is not a * Standard Schema v1 validator. */ export declare function parseWithSchema(schema: TSchema, input: unknown): Promise>; //# sourceMappingURL=adapter.d.ts.map