//#region node_modules/.pnpm/mlly@1.8.2/node_modules/mlly/dist/index.d.ts /** * Represents a general structure for ECMAScript module exports. */ interface ESMExport { /** * Optional explicit type for complex scenarios, often used internally. * @optional */ _type?: "declaration" | "named" | "default" | "star"; /** * The type of export (declaration, named, default or star). */ type: "declaration" | "named" | "default" | "star"; /** * The specific type of declaration being exported, if applicable. * @optional */ declarationType?: "let" | "var" | "const" | "enum" | "const enum" | "class" | "function" | "async function"; /** * The full code snippet of the export statement. */ code: string; /** * The starting position (index) of the export declaration in the source code. */ start: number; /** * The end position (index) of the export declaration in the source code. */ end: number; /** * The name of the variable, function or class being exported, if given explicitly. * @optional */ name?: string; /** * The name used for default exports when a specific identifier isn't given. * @optional */ defaultName?: string; /** * An array of names to export, applicable to named and destructured exports. */ names: string[]; /** * The module specifier, if any, from which exports are being re-exported. * @optional */ specifier?: string; } /** * Represents a declaration export within an ECMAScript module. * Extends {@link ESMExport}. */ //#endregion //#region node_modules/.pnpm/unimport@5.7.0/node_modules/unimport/dist/shared/unimport.DCeIjgcw.d.mts type ModuleId = string; type ImportName = string; interface ImportCommon { /** Module specifier to import from */ from: ModuleId; /** * Priority of the import, if multiple imports have the same name, the one with the highest priority will be used * @default 1 */ priority?: number; /** If this import is disabled */ disabled?: boolean; /** Won't output import in declaration file if true */ dtsDisabled?: boolean; /** Import declaration type like const / var / enum */ declarationType?: ESMExport['declarationType']; /** * Metadata of the import */ meta?: { /** Short description of the import */description?: string; /** URL to the documentation */ docsUrl?: string; /** Additional metadata */ [key: string]: any; }; /** * If this import is a pure type import */ type?: boolean; /** * Using this as the from when generating type declarations */ typeFrom?: ModuleId; } interface Import extends ImportCommon { /** Import name to be detected */ name: ImportName; /** Import as this name */ as?: ImportName; /** * With properties * * Ignored for CJS imports. */ with?: Record; } //#endregion //#region node_modules/.pnpm/unplugin-auto-import@21.0.0/node_modules/unplugin-auto-import/dist/types-CZdqb5KI.d.mts //#region node_modules/.pnpm/@antfu+utils@9.3.0/node_modules/@antfu/utils/dist/index.d.mts /** * Promise, or maybe not */ type Awaitable = T | PromiseLike; /** * Null or whatever */ /** * Array, or not yet */ type Arrayable = T | Array; /** * Function */ //#endregion //#region src/presets/index.d.ts interface ImportExtended extends Import { sideEffects?: SideEffectsInfo; __source?: 'dir' | 'resolver'; } type SideEffectsInfo = Arrayable | undefined; interface ResolverResult { as?: string; name?: string; from: string; } type ResolverFunction = (name: string) => Awaitable; //#endregion export { ResolverResult as n, ResolverFunction as t };