import __tsdown_shims_path from 'node:path'; import __tsdown_shims_url from 'node:url'; import { Awaitable, TypedFlatConfigItem } from "./types.mjs"; //#region src/utils.d.ts declare const parserPlain: { meta: { name: string; }; parseForESLint: (code: string) => { ast: { body: never[]; comments: never[]; loc: { end: number; start: number; }; range: number[]; tokens: never[]; type: string; }; scopeManager: null; services: { isPlain: boolean; }; visitorKeys: { Program: never[]; }; }; }; /** * Combine array and non-array configs into a single array. */ declare function combine(...configs: Awaitable[]): Promise; declare function toArray(value: T | T[]): T[]; declare function interopDefault(m: Awaitable): Promise; declare function isPackageInScope(name: string): boolean; declare function ensurePackages(packages: (string | undefined)[]): Promise; declare function isInEditorEnv(): boolean; declare function isInGitHooksOrLintStaged(): boolean; //#endregion export { combine, ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, toArray };