import { default as React } from 'react';
import { Statement } from '../../../integrityTypes/types';
interface BaseViewerProps {
    children?: React.ReactNode;
    buttonText?: string;
}
type FileViewerProps = ({
    statement: Statement;
} & BaseViewerProps) | ({
    filename: string;
    content: string;
    language?: string;
    decodeContent?: boolean;
} & BaseViewerProps);
export declare const FileViewer: (props: FileViewerProps) => import("react/jsx-runtime").JSX.Element;
export declare function getExtensionFromLanguage(language: string): string | null;
export declare function getLanguageFromContent(bytes: Uint8Array): string | null;
export {};
