/// <reference types="node" />
import { FileSystem } from "../../adapters/fileSystem";
import { RuleConverter } from "../lintConfigs/rules/ruleConverter";
export type ConvertFileCommentsDependencies = {
    converters: Map<string, RuleConverter>;
    fileSystem: Pick<FileSystem, "readFile" | "writeFile">;
};
export declare const convertFileComments: (
    dependencies: ConvertFileCommentsDependencies,
    filePath: string,
    ruleCommentsCache: Map<string, string[]>,
    ruleEquivalents: Map<string, string[]>,
) => Promise<NodeJS.ErrnoException | undefined>;
