///
import type { ExternalSource } from '../../services/types';
import type { FileInfo } from '../../common-elements/Download';
export interface SourceCodeProps {
lang: string;
source?: string;
externalSource?: ExternalSource;
onCopyClick?: () => void;
}
export declare const SourceCode: ({ source, lang, }: Required>) => JSX.Element;
export declare function SourceCodeWithText({ source: _source, lang, externalSource: _externalSource, onCopyClick, }: SourceCodeProps): JSX.Element;
export declare function SourceCodeWithFile(props: FileInfo): JSX.Element;