UNPKG

n8n-nodes-pdf-accessibility

Version:

AI-powered PDF accessibility automation for N8N - comprehensive WCAG compliance analysis, intelligent remediation, and professional audit reporting with 5 integrated accessibility tools

51 lines (50 loc) 1.98 kB
export declare const PDF_LIMITS: { readonly MAX_FILE_SIZE: number; readonly MAX_PAGES: 10; readonly MIN_TEXT_LENGTH: 100; readonly MAX_TEXT_EXTRACT: 2000; }; export declare const ANTHROPIC_CONFIG: { readonly BASE_URL: "https://api.anthropic.com/v1"; readonly DEFAULT_MODEL: "claude-3-5-sonnet-20241022"; readonly MAX_TOKENS: 4000; readonly VERSION: "2023-06-01"; }; export declare const WCAG_CRITERIA: readonly ["1.1.1 Non-text Content", "1.3.1 Info and Relationships", "1.4.3 Contrast (Minimum)", "2.4.2 Page Titled", "2.4.4 Link Purpose (In Context)", "3.1.1 Language of Page", "4.1.2 Name, Role, Value"]; export declare const SUPPORTED_LANGUAGES: readonly [{ readonly name: "English (US)"; readonly value: "en-US"; }, { readonly name: "English (UK)"; readonly value: "en-GB"; }, { readonly name: "Spanish"; readonly value: "es"; }, { readonly name: "French"; readonly value: "fr"; }, { readonly name: "German"; readonly value: "de"; }, { readonly name: "Italian"; readonly value: "it"; }, { readonly name: "Portuguese"; readonly value: "pt"; }, { readonly name: "Dutch"; readonly value: "nl"; }]; export declare const ERROR_MESSAGES: { readonly INVALID_FILE: "Invalid PDF file or corrupted data"; readonly FILE_TOO_LARGE: `File size exceeds ${number}MB limit`; readonly TOO_MANY_PAGES: "Document has more than 10 pages"; readonly SCANNED_DOCUMENT: "Scanned documents are not supported - text-based PDFs only"; readonly FORM_DOCUMENT: "Documents with fillable forms are not supported"; readonly NO_TEXT_CONTENT: "Document must contain readable text content"; readonly NON_ROMAN_CHARS: "Document contains non-Roman characters - not supported"; readonly AI_API_ERROR: "Error communicating with AI service"; readonly REMEDIATION_FAILED: "Failed to apply accessibility improvements"; readonly PARSING_ERROR: "Failed to parse PDF document"; };