import { type ReactNode } from "react"; export type PierreFileProps = { /** Target path (used for the header + language inference). */ path: string; /** The decoded text contents. */ contents: string; themeType?: "dark" | "light" | undefined; /** Shiki bundled theme names (dark/light) — derived from the host palette. */ theme?: { dark: string; light: string; } | undefined; /** Disable Pierre's worker pool if its worker bundling fights the host bundler. */ disableWorkerPool?: boolean | undefined; /** Rendered while the (lazy) Pierre bundle loads. */ loading?: ReactNode | undefined; /** Rendered if `@pierre/diffs/react` is not installed / fails to import. */ fallback?: ReactNode | undefined; className?: string | undefined; }; /** * The Pierre-backed single-file VIEWER: Shiki-highlighted, language inferred from * the filename — the read complement of `PierreDiff`. Wired to `fs.read` so * clicking any file in the tree shows its contents (NOT a diff; no repo needed). * Falls back to a plain `
` when `@pierre/diffs` is absent / fails to import.
 */
export declare function PierreFile({ path, contents, themeType, theme, disableWorkerPool, loading, fallback, className, }: PierreFileProps): import("react").JSX.Element;