import type { Awaitable } from "@antfu/eslint-config"; import { astro as antfuAstro, comments, disables, formatters, ignores, interopDefault, isInEditorEnv, jsonc, jsx, markdown, pnpm, react, regexp, resolveSubOptions, sortPackageJson, sortTsconfig, toml, typescript, yaml } from "@antfu/eslint-config"; import js from "@eslint/js"; import { FlatConfigComposer } from "eslint-flat-config-utils"; import { isPackageExists } from "local-pkg"; import type { OptionsXaxa, UserConfig } from "./types.ts"; import { isPnpm, isUnoCSS } from "./utils.ts"; export * from "./configs/index.ts"; export * from "./plugins.ts"; export * from "./types.ts"; export * from "./vscode.ts"; export declare const defaultPluginRenaming: any; export { FlatConfigComposer, interopDefault, isInEditorEnv, isPackageExists, isPnpm, isUnoCSS, js, antfuAstro as astro, comments, disables, formatters, ignores, jsonc, jsx, markdown, pnpm, react, regexp, resolveSubOptions, sortPackageJson, sortTsconfig, toml, typescript, yaml }; /** * Construct an array of ESLint flat config items. * * @param {OptionsXaxa} options - The options for generating the ESLint configurations. * @param {Awaitable[]} userConfigs - The user configurations to be merged with the generated configurations. * @returns {Promise} The merged ESLint configurations. */ export default function xaxa(options?: OptionsXaxa, ...userConfigs: Awaitable[] | UserConfig[]): FlatConfigComposer; export { xaxa };