import type { Plugin } from "vite"; export interface LookupTranspileModulesOptions { log?: boolean; } export interface LookupTamaguiModulesOptions { log?: boolean; } export declare function lookupTranspileModules(packageDirs?: string[], { log }?: LookupTranspileModulesOptions): any[]; export declare function lookupTamaguiModules(packageDirs?: string[], { log }?: LookupTamaguiModulesOptions): any[]; export declare function resolveConfig(keys?: string[]): Record; export declare function lookupProjectRoot(): string; /** * Map every public/* workspace package (and its subpath exports) to its TS * source. Without this, packages whose exports point at dist (e.g. table) * resolve to stale builds that can reference since-moved dependencies. * * Shared by the web-extension and vscode-webview target configs (the * pattern originated in apps/webext). */ export declare function workspaceSourceAliases(workspaceRoot?: string): Record; /** * one's client code imports ./vite/one-server-only.mjs, which pulls * node:async_hooks and can't bundle for the browser. Declaring it rollup- * `external` ships a literal node_modules import that can't resolve inside a * packaged extension (this exact failure made the webext popup load blank). * One publishes a no-op browser/native variant of the same module; redirect * to it instead of externalizing. * * When `one` is not installed at all, the redirect is skipped (with a one-line * warning) so normal resolution proceeds instead of rewriting matching ids to * a path that does not exist — which surfaced as a bare "No such file or * directory" naming the consumer's own import. The redirect also only applies * to imports made FROM one's own files (every real one-server-only import * site lives in one/dist); a consumer module whose id merely contains the * substring resolves normally. */ export declare function oneServerOnlyBrowserStub(workspaceRoot?: string): Plugin; /** * expo-modules-core ships `src/ts-declarations/` files that contain only * TypeScript type declarations. Rolldown incorrectly treats their * `import { ... }` statements as value imports (because `// @ts-nocheck` * prevents OXC from eliding them), then reports MISSING_EXPORT. Stub these * type-only files with empty modules. */ export declare function stubExpoTypeDeclarations(): Plugin; export * from "./wait"; //# sourceMappingURL=dev.d.ts.map