import type { DocumentBuilder } from './document-builder.ts'; import type { ICCColorSpace } from './icc-color-space.ts'; /** * An output intent declaration for a PDF document. * * Output intents specify the intended output device or condition, and * are required for PDF/A and PDF/X compliance. */ export type OutputIntent = { /** The output intent subtype (e.g., 'GTS_PDFA1', 'GTS_PDFX', 'ISO_PDFE1'). */ subtype: string; /** The output condition identifier (e.g., 'sRGB IEC61966-2.1'). */ outputConditionIdentifier: string; /** The ICC color profile for the destination output. */ destOutputProfile: ICCColorSpace; /** Human-readable output condition description. */ outputCondition?: string; /** Registry name (URL) where the condition is defined. */ registryName?: string; /** Additional info about the output condition. */ info?: string; }; /** * Registers an output intent in the document catalog. */ export declare function registerOutputIntent(intent: OutputIntent, docBuilder: DocumentBuilder): void;