import { ConfigObject, Options } from "./types/index.js";
import { Linter } from "eslint";

//#region src/index.d.ts

/**
* Define the ESLint configuration based on the provided options and any number of Flat Config objects.
*
* @param {Options} options - Options to configure and customize the config
* @param {...ConfigObject} configs - Additional Flat Config objects to extend the config
*
* @returns {Linter.Config[]} The merged ESLint configuration array
*/
declare function defineConfig(options?: Options, ...configs: ConfigObject[]): Linter.Config[];
//#endregion
export { defineConfig };