import type { Linter } from "eslint";
type Path = string;
export declare class YamlProcessor implements Linter.Processor<Linter.ProcessorFile> {
    /** Map of file paths to their YAML value and warnings. */
    private parsedFiles;
    supportsAutofix: boolean;
    /** The preprocess method is called by ESLint before the parser is run. */
    preprocess(text: string, path: Path): Linter.ProcessorFile[];
    /** Parser for YAML files. */
    parseForESLint(code: string, options?: {
        filePath?: Path;
    }): Linter.ESLintParseResult;
    /** The postprocess method is called by ESLint after the parser is run. */
    postprocess(_messages: Linter.LintMessage[][], filePath: Path): Linter.LintMessage[];
    private isYaml;
    private loadYaml;
    private lintJSON;
}
export {};
