export interface FabricCommandLine { argv: readonly string[]; cwd: string; } /** * The Fabric copy this process's command line loads with `-e`/`--extension`, when it is a * different copy than `entryPath`; otherwise undefined. * * A Fabric child Pi loads its parent's own Fabric build with `-e` and also the packages in the * user's Pi settings. When those settings name another pi-fabric build (the profile switched * builds while the parent kept running), both copies would register `fabric_exec` and Pi would * refuse to start the child. The command-line copy wins: it matches the worker the parent * launched, and Pi itself loads command-line extensions first. When several Fabric copies are on * the command line, the first one wins. * * Only the command line counts, never the environment, so a top-level `pi` that inherits a * Fabric child's environment keeps its own Fabric. Any failure to inspect the copies leaves * this copy active. */ export declare const commandLineFabricCopy: (entryPath: string, commandLine?: FabricCommandLine) => string | undefined; //# sourceMappingURL=extension-copy.d.ts.map