import { type Root as MdastRoot } from 'mdast';
export type EmbeddedFile = {
    error?: boolean;
    file: string;
    hash: string;
    line?: number;
    warning?: string;
};
export type CodeFileData = {
    mdxFile: string;
    cacheLocation: string;
    cachedEmbeddedFiles: Map<string, EmbeddedFile>;
    embeddedFiles: Map<string, EmbeddedFile>;
};
export declare function remarkCodeFile(data: CodeFileData): (tree: MdastRoot) => Promise<void>;
