import { URI } from "../../../base/common/uri.js"; import { NativeParsedArgs } from "./argv.js"; import { ExtensionKind, IExtensionHostDebugParams } from "./environment.js"; import { INativeEnvironmentService } from "./environment.service.js"; import { IProductService } from "../../product/common/productService.service.js"; export declare const EXTENSION_IDENTIFIER_WITH_LOG_REGEX: RegExp; export interface INativeEnvironmentPaths { /** * The user data directory to use for anything that should be * persisted except for the content that is meant for the `homeDir`. * * Only one instance of VSCode can use the same `userDataDir`. */ userDataDir: string; /** * The user home directory mainly used for persisting extensions * and global configuration that should be shared across all * versions. */ homeDir: string; /** * OS tmp dir. */ tmpDir: string; } export declare abstract class AbstractNativeEnvironmentService implements INativeEnvironmentService { private readonly _args; private readonly paths; protected readonly productService: IProductService; readonly _serviceBrand: undefined; get appRoot(): string; get userHome(): URI; get userDataPath(): string; get appSettingsHome(): URI; get tmpDir(): URI; get cacheHome(): URI; get stateResource(): URI; get userRoamingDataHome(): URI; get userDataSyncHome(): URI; get logsHome(): URI; get sync(): "on" | "off" | undefined; get workspaceStorageHome(): URI; get localHistoryHome(): URI; get keyboardLayoutResource(): URI; get argvResource(): URI; get isExtensionDevelopment(): boolean; get untitledWorkspacesHome(): URI; get builtinExtensionsPath(): string; get extensionsDownloadLocation(): URI; get extensionsPath(): string; get extensionDevelopmentLocationURI(): URI[] | undefined; get extensionDevelopmentKind(): ExtensionKind[] | undefined; get extensionTestsLocationURI(): URI | undefined; get disableExtensions(): boolean | string[]; get debugExtensionHost(): IExtensionHostDebugParams; get debugRenderer(): boolean; get isBuilt(): boolean; get verbose(): boolean; get logLevel(): string | undefined; get extensionLogLevel(): [ string, string ][] | undefined; get serviceMachineIdResource(): URI; get crashReporterId(): string | undefined; get crashReporterDirectory(): string | undefined; get disableTelemetry(): boolean; get disableExperiments(): boolean; get disableWorkspaceTrust(): boolean; get useInMemorySecretStorage(): boolean; get policyFile(): URI | undefined; get agentSessionsWorkspace(): URI; get editSessionId(): string | undefined; get exportPolicyData(): string | undefined; get continueOn(): string | undefined; set continueOn(value: string | undefined); get args(): NativeParsedArgs; constructor(_args: NativeParsedArgs, paths: INativeEnvironmentPaths, productService: IProductService); } export declare function parseExtensionHostDebugPort(args: NativeParsedArgs, isBuilt: boolean): IExtensionHostDebugParams; export declare function parseDebugParams(debugArg: string | undefined, debugBrkArg: string | undefined, defaultBuildPort: number, isBuilt: boolean, debugId?: string, environmentString?: string): IExtensionHostDebugParams;