import { type PdfRelaxedInputOptions } from "./relaxed-input.js"; export type PdfValidationIssueCode = "PDF_VALIDATE_SCHEMA" | "PDF_VALIDATE_COLOR_INVALID" | "PDF_VALIDATE_PAGES_EMPTY" | "PDF_VALIDATE_EDGE_WARNING" | "PDF_VALIDATE_PAGE_MARGINS_INVALID"; export interface PdfValidationIssue { severity: "error" | "warning"; code: PdfValidationIssueCode; message: string; path: string; suggestion?: string; } export interface PdfValidationResult { ok: boolean; issues: PdfValidationIssue[]; } /** * Validate a `PdfDocument` (or relaxed-input shape) without rendering. * Returns every issue at once. Does not throw on schema failure. */ export declare function validatePdfDocumentSafe(input: unknown, options?: PdfRelaxedInputOptions): PdfValidationResult; //# sourceMappingURL=validate-document.d.ts.map