/** Props for {@link ArtifactContentRenderer}. */
export interface ArtifactContentRendererProps {
    /** The text content to render. */
    readonly content: string;
    /**
     * File name used to determine the rendering strategy
     * (e.g., `"README.md"` → markdown, `"config.yaml"` → YAML).
     */
    readonly fileName: string;
    /**
     * Optional MIME content type from the server. Used as a fallback
     * when the file extension is ambiguous or missing.
     */
    readonly contentType?: string | null;
    /** When `true`, shows a truncation warning below the content. */
    readonly isTruncated?: boolean;
    /** Additional CSS classes for the root element. */
    readonly className?: string;
}
/**
 * File-type-aware content renderer for execution artifacts.
 *
 * Determines the rendering strategy from the file name (via
 * {@link getArtifactRenderMode}) and dispatches to the appropriate
 * view:
 *
 * - **Markdown** (`.md`, `.mdx`) — rendered HTML via `react-markdown`
 *   with themed {@link MARKDOWN_COMPONENTS}, plus a source/rendered
 *   toggle so developers can inspect the raw markup.
 * - **YAML** (`.yaml`, `.yml`) — CSS-only syntax highlighting with
 *   key, comment, and value colorization.
 * - **JSON** (`.json`) — pretty-printed with basic key/value coloring.
 * - **Plain text** (all other extensions) — monospace display with
 *   line numbers.
 *
 * All visual properties flow through `--stgm-*` tokens. The component
 * is self-contained and works identically in the Stigmer Console and
 * in a third-party host application.
 *
 * Platform builders who want to render artifact content outside of
 * {@link ArtifactPreviewModal} can import this component directly:
 *
 * @example
 * ```tsx
 * import { ArtifactContentRenderer, useArtifactContent } from "@stigmer/react";
 *
 * function MyArtifactPanel({ executionId, storageKey, fileName }) {
 *   const { content } = useArtifactContent(executionId, storageKey);
 *   if (!content) return null;
 *   return <ArtifactContentRenderer content={content} fileName={fileName} />;
 * }
 * ```
 *
 * @see {@link getArtifactRenderMode} — pure utility for mode detection
 * @see {@link ArtifactPreviewModal} — full modal that composes this component
 * @see {@link useArtifactContent} — headless content-fetching hook
 */
export declare function ArtifactContentRenderer({ content, fileName, contentType, isTruncated, className, }: ArtifactContentRendererProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ArtifactContentRenderer.d.ts.map