import type { IDCardTemplate, FieldMapping, CardSize } from '../types'; export interface ValidationError { field: string; message: string; } /** * Validate a complete ID card template * Checks for required fields, valid dimensions, and proper field configuration * @param template - The template to validate * @returns Array of validation errors (empty if valid) */ export declare function validateTemplate(template: IDCardTemplate): ValidationError[]; /** * Validate a single field's configuration * @param field - The field to validate * @param index - Field index (for error messages) * @returns Array of validation errors */ export declare function validateField(field: FieldMapping, index: number): ValidationError[]; /** * Validate card size against standard dimensions */ export declare function validateCardSize(size: CardSize): boolean; /** * Check if a field is within card bounds */ export declare function isFieldInBounds(field: FieldMapping, cardSize: CardSize): boolean;