export declare function validateMetadata(data: unknown): { valid: boolean; errors?: string[]; };