//#region src/domains/run/utils/schema-validation.d.ts
/**
 * Clear the validator cache to free memory
 * Useful for testing or when memory usage becomes a concern
 */
declare function clearValidatorCache(): void;
/**
 * Get the current cache size for monitoring
 */
declare function getValidatorCacheSize(): number;
/**
 * Extended JSON Schema that includes preview field indicators
 */
interface ExtendedJsonSchema {
  type: string;
  properties?: Record<string, ExtendedJsonSchemaProperty>;
  required?: string[];
  [key: string]: any;
}
interface ExtendedJsonSchemaProperty {
  type: string;
  description?: string;
  inPreview?: boolean;
  [key: string]: any;
}
/**
 * Validate that a schema is valid (either JSON Schema or Zod)
 * Following the same pattern as context validation
 */
declare function validateComponentSchema(schema: any, componentName: string): {
  isValid: boolean;
  error?: string;
  validatedSchema?: ExtendedJsonSchema;
};
/**
 * Extract preview fields from a schema (fields marked with inPreview: true)
 */
declare function extractPreviewFields(schema: ExtendedJsonSchema): Record<string, any>;
/**
 * Extract full fields from a schema (all fields, with inPreview flags removed)
 */
declare function extractFullFields(schema: ExtendedJsonSchema): Record<string, any>;
//#endregion
export { ExtendedJsonSchema, ExtendedJsonSchemaProperty, clearValidatorCache, extractFullFields, extractPreviewFields, getValidatorCacheSize, validateComponentSchema };