export { isAuthoredSourcePath } from "#internal/nitro/dev-runtime-source-snapshot-local-roots.js"; export declare const DEV_RUNTIME_SOURCE_DIRECTORY = "source"; export declare class DevelopmentRuntimeSourceSnapshotError extends Error { constructor(message: string); } export interface DevelopmentSourceSnapshotPlan { readonly appRoot: string; readonly copyFiles: readonly string[]; readonly copyRoots: readonly string[]; readonly dependencyMounts: readonly DevelopmentSourceSnapshotDependencyMount[]; readonly runtimeAppRoot: string; readonly snapshotRoot: string; readonly snapshotSourceRoot: string; readonly sourceRoot: string; readonly tsconfigPaths: readonly string[]; readonly watchPaths: readonly string[]; } export interface DevelopmentSourceSnapshotDependencyMount { /** * Whether the mount target is copied into the snapshot. Copied mounts link * to the in-snapshot copy; all other mounts link to the real source path so * installed and workspace dependency code resolves in place. */ readonly copied: boolean; readonly mountPath: string; readonly sourceKind: "installed" | "workspace"; readonly sourcePath: string; } export declare function createDevelopmentSourceSnapshotPlan(input: { readonly appRoot: string; /** * Workspace roots that host runtime-hydrated authored source (extension * mount roots from the compiled manifest). They are copied into the * snapshot like the app root; every other workspace dependency package is * mounted in place instead of copied. */ readonly authoredSourceRoots?: readonly string[]; readonly snapshotRoot: string; }): Promise; export declare function resolveDevelopmentSourceSnapshotWatchPaths(appRoot: string): Promise; export declare function toDevelopmentSourceSnapshotPath(input: { readonly snapshotSourceRoot: string; readonly sourcePath: string; readonly sourceRoot: string; }): string; /** Resolves the repository/workspace boundary used for authored development sources. */ export declare function resolveDevelopmentSourceRoot(appRoot: string): string;