import { ZodObject, ZodRawShape } from 'zod'; import { RenderError } from '../types/render'; /** * Validate component props against a Zod schema. * Children are stripped before validation since they are structural, not data. * * @param componentName - Name of the component (for error reporting) * @param props - The full props object (may include children) * @param schema - The Zod schema to validate against * @returns Array of RenderError objects (empty if valid) */ export declare function validateProps(componentName: string, props: Record, schema: ZodObject): RenderError[]; /** * Extract the Zod schema from a component class or function. */ export declare function getSchema(type: unknown): ZodObject | undefined; /** * Extract a human-readable name from a component type. */ export declare function getComponentName(type: unknown): string; //# sourceMappingURL=prop-validator.d.ts.map