import type { ImgAltResult, RuleInput } from '../types.js'; export type ImgAltViolation = { src: string; alt: string | null; reason: 'missing' | 'empty' | 'filename'; }; /** * Validates that all elements have appropriate alt attributes. * * Checks: * 1. alt attribute must be present (missing = fail) * 2. Decorative images (alt="") are allowed * 3. alt text must not be just a filename (e.g., "photo.jpg") * * Pass: all img elements have alt attributes that aren't bare filenames * Fail: any img missing alt, or using a filename as alt text */ export declare function checkImgAlt(input: RuleInput): ImgAltResult; //# sourceMappingURL=img-alt.d.ts.map