import type { AnySchema, Static } from "./index.js"; export type SchemaDescriptor = AnySchema; export type ValidationIssue = { path: readonly string[]; expected: string; received: string; message: string; keyword?: string; }; export type ValidationResult = { ok: true; value: T; } | { ok: false; issues: readonly ValidationIssue[]; }; export declare function validate(schema: S, value: unknown): ValidationResult>;