import { z } from "zod"; /** * Metadata extracted from a Zod schema field */ export interface FieldMetadata { type: "string" | "number" | "boolean" | "enum" | "string[]"; isOptional: boolean; enumValues?: string[]; description?: string; } /** * Extract metadata from all fields in a Zod schema */ export declare function getZodSchemaFields(schema: z.ZodTypeAny): Record; /** * Get the type of a specific field from a schema */ export declare function getFieldType(schemas: Record, provider: string, field: string): string | undefined; /** * Check if a field is required (not optional) */ export declare function isRequired(schemas: Record, provider: string, field: string): boolean; /** * Get field documentation/description */ export declare function getFieldDoc(schemas: Record, provider: string, field: string): string | undefined; /** * Get enum values for a field (if it's an enum type) */ export declare function getEnumValues(schemas: Record, provider: string, field: string): string[] | undefined; /** * Get all fields for a provider (including base fields) */ export declare function getAllFields(schemas: Record, provider: string): string[]; /** * Check if a provider is valid (exists in schemas) */ export declare function isValidProvider(schemas: Record, provider: string): boolean; /** * Get all valid provider names */ export declare function getProviders(schemas: Record): string[]; //# sourceMappingURL=schema-introspection.d.ts.map