import { LitElement } from "lit"; import { DocumentType } from "./document.types.js"; declare const NrDocumentElement_base: (new (...args: any[]) => import("@nuralyui/common/mixins").DependencyAware) & (new (...args: any[]) => import("@nuralyui/common/mixins").ThemeAware) & (new (...args: any[]) => import("@nuralyui/common/mixins").EventHandlerCapable) & (new (...args: any[]) => import("packages/common/src/shared/base-mixin.js").LightDomContent) & typeof LitElement; /** * Document viewer component for embedding PDFs and other documents via iframe. * * @csspart container - The root wrapper div of the document viewer * @csspart iframe - The native iframe element rendering the document * @csspart preview-button - The button that opens the fullscreen preview modal * @csspart preview-modal - The fullscreen preview overlay * @csspart preview-close - The close button inside the preview modal * @csspart error-message - The error state container shown when the document fails to load */ export declare class NrDocumentElement extends NrDocumentElement_base { static styles: import("lit").CSSResult; static useShadowDom: boolean; src: string; type: DocumentType; width: string; height: string; previewable: boolean; block: boolean; private showPreview; private hasError; private readonly defaultFallback; private handleError; private handleLoad; private showPreviewModal; private closePreviewModal; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'nr-document': NrDocumentElement; } } export {}; //# sourceMappingURL=document.component.d.ts.map