import type { PreviewConfig, PreviewDocument } from "./types.js"; export declare const PARTIAL_BANNERS: { readonly pptxFidelity: "Slide layout shows positioned text, shapes, and charts — 3D charts use embedded images or pseudo-3D SVG when data is unavailable."; readonly pptxAnimations: "Build steps and slide transitions play in simplified form; full OOXML animation timing is not replicated."; readonly cloudIframe: "Cloud embeds cannot detect iframe load failures (browser CORS). If the preview looks blank, use Try alternate viewer below or open the document in a new tab."; readonly splitDiffText: "Text-extraction diff — extracted plain text with line highlights, not overlays on the native viewer."; readonly splitDiffNativeDocx: "Native diff — inline word highlights on DOCX paragraphs. Alignment may differ from extracted text."; readonly splitDiffNativePdf: "Native diff — word-level highlights positioned from the PDF text layer."; readonly splitDiffNativePptx: "Native diff — slide text and positioned shapes/charts highlighted in the deck preview."; readonly splitDiffNativeOdt: "Native diff — word highlights and layout markers on ODT HTML blocks. Complex layout may differ from LibreOffice."; readonly splitDiffNativeSpreadsheet: "Native diff — row and cell highlights on the active worksheet table."; readonly splitDiffNativeOdp: "Native diff — slide text and positioned elements highlighted in the ODP deck preview."; readonly scannedPdf: "This PDF has little or no text layer — compare and search need OCR or a text-based export. Image-only pages cannot be diffed at word level."; readonly compareUnsupported: "Compare uses text extraction for documents. Matching image, video, or audio pairs use a metadata / side-by-side preview instead."; readonly compareHint: "Compare extracts plain text for Office/PDF/text. Upload matching image, video, or audio types for metadata comparison."; readonly legacyOffice: "Legacy Office formats use text or HTML extraction — not layout-faithful rendering. For full layout, use a public URL with the cloud viewer or configure server-side conversion (LibreOffice, Gotenberg, or your API via config.conversion)."; readonly openDocument: "OpenDocument (.odt, .ods, .odp) preview uses in-browser HTML extraction — complex layouts, macros, and embedded objects may differ from LibreOffice. For exact output, export to PDF or DOCX."; readonly spreadsheetOds: "ODS preview uses the same multi-sheet tab UI as XLSX (SheetJS). Complex formulas, charts, and macros may not render."; }; export type SplitDiffMode = "text" | "native-docx" | "native-pdf" | "native-pptx" | "native-odt" | "native-xlsx" | "native-odp"; export declare function isCompareSupportedDocument(doc: PreviewDocument): boolean; export declare function isSearchSupportedDocument(doc: PreviewDocument): boolean; export declare function getSplitDiffMode(left: PreviewDocument, right: PreviewDocument): SplitDiffMode; export declare function splitDiffBannerMessage(mode: SplitDiffMode): string; export declare function createPartialBanner(message: string, title?: string): HTMLElement; export declare function prependPartialBanner(host: HTMLElement, message: string, title?: string): void; /** Default true — set `config.office.showPartialPreviewBanner` to false to hide Office partial banners. */ export declare function isPartialPreviewBannerEnabled(config: PreviewConfig | undefined): boolean; /** Default true — set `config.pdf.showAnnotateToolbar` to false to hide the PDF Annotate toolbar. */ export declare function isAnnotateToolbarEnabled(config: PreviewConfig | undefined): boolean; /** Default true — set `config.pdf.showReviewBadge` to false to hide the review-state badge. */ export declare function isReviewBadgeEnabled(config: PreviewConfig | undefined): boolean; export declare function appendPartialPreviewBannerIfEnabled(host: HTMLElement, config: PreviewConfig | undefined, message: string, title?: string): void; export declare function prependPartialPreviewBannerIfEnabled(host: HTMLElement, config: PreviewConfig | undefined, message: string, title?: string): void; //# sourceMappingURL=partial-by-design.d.ts.map