import { type JSX } from 'solid-js'; import type { DuiArtifactAccess } from '@/widget/components/dynamic-ui/types'; import type { RenderableArtifact } from './ArtifactRenderer'; export declare function isDarkSurface(element: HTMLElement | undefined): boolean; type OfficePreviewProps = { artifact: RenderableArtifact; access?: DuiArtifactAccess; height: string; fallback: JSX.Element; }; /** Core's `DocxPreview`: mammoth converts the bytes, the result is framed like any other document. */ export declare function DocxPreview(props: OfficePreviewProps): JSX.Element; export declare function XlsxPreview(props: OfficePreviewProps): JSX.Element; export {};