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