import type { Component } from "jsx-md";
/**
 * Defines a regex to search with and a string that should be used
 * to replace the results found.
 */
interface Replacement {
    find: RegExp;
    replace: string;
}
/** @internal */
interface Props {
    fileName: string;
    children: string;
    replacements?: Replacement[];
}
/** Displays a code file with a heading and a codeblock. */
export declare const CodeFile: Component<Props>;
export {};
