/** * Workaround: Node 21+ defines `globalThis.navigator`, which breaks VS Code * extensions that use its absence to detect a Node.js environment. * Unless explicitly opted in via `THEIA_SUPPORT_NODE_GLOBAL_NAVIGATOR=true`, * override it with a getter that returns `undefined` to match VS Code behavior. * See https://github.com/eclipse-theia/theia/issues/16233 * * @param env the environment variables to read the opt-in flag from * @param target the object on which to override the `navigator` property (defaults to `globalThis`) */ export declare function suppressNodeNavigator(env?: Record, target?: typeof globalThis): void; //# sourceMappingURL=plugin-host-navigator-override.d.ts.map