import type { StandardSchemaV1 } from "@standard-schema/spec";
/**
 * Normalized validation issue with a simplified path.
 */
export interface ValidationIssue {
    /**
     * Path to the invalid value.
     */
    path?: (string | number)[];
    /**
     * Human-readable validation message.
     */
    message: string;
}
/**
 * Error thrown when Standard Schema validation fails.
 * Shared across client and server packages so `instanceof` checks work
 * regardless of which package threw the error.
 */
export declare class SchemaValidationError extends Error {
    /**
     * Normalized validation issues.
     */
    readonly issues: ReadonlyArray<ValidationIssue>;
    constructor(rawIssues: ReadonlyArray<StandardSchemaV1.Issue>);
}
//# sourceMappingURL=validation.d.ts.map