import { type JSX } from 'solid-js'; import type { TorukArtifact } from '@/artifacts/artifacts.types'; import type { DuiArtifactAccess } from '@/widget/components/dynamic-ui/types'; export type RenderableArtifact = { id?: string; title?: string | null; type?: string | null; content?: string | null; mimeType?: string | null; metadata?: { language?: string; } | null; }; export type ArtifactRendererProps = { artifact?: RenderableArtifact | TorukArtifact | null; previewHeight?: string; fill?: boolean; access?: DuiArtifactAccess; }; export declare function ArtifactRenderer(props: ArtifactRendererProps): JSX.Element; export declare function hasArtifactPreview(artifact: RenderableArtifact | TorukArtifact | null | undefined): boolean;