import * as parserPlain from "eslint-parser-plain";
import * as eslint from "eslint";
import { ESLint, Linter } from "eslint";

//#region src/index.d.ts
interface ESLintPluginFormat extends ESLint.Plugin {
  parserPlain: Linter.Parser;
}
declare const _default: {
  parserPlain: typeof parserPlain;
  rules: {
    prettier: {
      meta: {
        type: "layout";
        docs: {
          description: string;
        };
        fixable: "whitespace";
        schema: {
          type: "object";
          properties: {
            parser: {
              type: "string";
            };
          };
          required: string[];
          additionalProperties: true;
        }[];
        messages: {
          insert: string;
          delete: string;
          replace: string;
        };
      };
      create(context: eslint.Rule.RuleContext): {
        Program(): void;
      };
    };
    dprint: {
      meta: {
        type: "layout";
        docs: {
          description: string;
        };
        fixable: "whitespace";
        schema: {
          type: "object";
          properties: {
            language: {
              type: "string";
            };
            languageOptions: {
              type: "object";
            };
            plugins: {
              type: "array";
            };
          };
          additionalProperties: true;
        }[];
        messages: {
          insert: string;
          delete: string;
          replace: string;
        };
      };
      create(context: eslint.Rule.RuleContext): {
        Program(): void;
      };
    };
    oxfmt: {
      meta: {
        type: "layout";
        docs: {
          description: string;
        };
        fixable: "whitespace";
        schema: {
          type: "object";
          additionalProperties: true;
        }[];
        messages: {
          insert: string;
          delete: string;
          replace: string;
        };
      };
      create(context: eslint.Rule.RuleContext): {
        Program(): void;
      };
    };
  };
};
//#endregion
export { ESLintPluginFormat, _default as default };