import * as Platform from '../platform/platform.js'; export declare function getRemoteBase(location?: string): { base: string; version: string; } | null; export declare class Runtime { private constructor(); static instance(opts?: { forceNew: boolean | null; } | undefined): Runtime; static removeInstance(): void; static queryParam(name: string): string | null; static setQueryParamForTesting(name: string, value: string): void; static experimentsSetting(): { [x: string]: boolean; }; static setPlatform(platform: string): void; static platform(): string; static isDescriptorEnabled(descriptor: { experiment: ((string | undefined) | null); condition: ((string | undefined) | null); }): boolean; loadLegacyModule(modulePath: string): Promise; } export interface Option { title: string; value: string | boolean; raw?: boolean; text?: string; } export declare class ExperimentsSupport { #private; constructor(); allConfigurableExperiments(): Experiment[]; enabledExperiments(): Experiment[]; private setExperimentsSetting; register(experimentName: string, experimentTitle: string, unstable?: boolean, docLink?: string, feedbackLink?: string): void; isEnabled(experimentName: string): boolean; setEnabled(experimentName: string, enabled: boolean): void; enableExperimentsTransiently(experimentNames: string[]): void; enableExperimentsByDefault(experimentNames: string[]): void; setServerEnabledExperiments(experimentNames: string[]): void; setNonConfigurableExperiments(experimentNames: string[]): void; enableForTest(experimentName: string): void; disableForTest(experimentName: string): void; clearForTest(): void; cleanUpStaleExperiments(): void; private checkExperiment; } export declare class Experiment { #private; name: string; title: string; unstable: boolean; docLink?: Platform.DevToolsPath.UrlString; readonly feedbackLink?: Platform.DevToolsPath.UrlString; constructor(experiments: ExperimentsSupport, name: string, title: string, unstable: boolean, docLink: Platform.DevToolsPath.UrlString, feedbackLink: Platform.DevToolsPath.UrlString); isEnabled(): boolean; setEnabled(enabled: boolean): void; } export declare const experiments: ExperimentsSupport; export declare enum ExperimentName { CAPTURE_NODE_CREATION_STACKS = "captureNodeCreationStacks", CSS_OVERVIEW = "cssOverview", LIVE_HEAP_PROFILE = "liveHeapProfile", DEVELOPER_RESOURCES_VIEW = "developerResourcesView", TIMELINE_REPLAY_EVENT = "timelineReplayEvent", CSP_VIOLATIONS_VIEW = "cspViolationsView", WASM_DWARF_DEBUGGING = "wasmDWARFDebugging", ALL = "*", PROTOCOL_MONITOR = "protocolMonitor", WEBAUTHN_PANE = "webauthnPane", FULL_ACCESSIBILITY_TREE = "fullAccessibilityTree", PRECISE_CHANGES = "preciseChanges", STYLES_PANE_CSS_CHANGES = "stylesPaneCSSChanges", HEADER_OVERRIDES = "headerOverrides", EYEDROPPER_COLOR_PICKER = "eyedropperColorPicker", INSTRUMENTATION_BREAKPOINTS = "instrumentationBreakpoints", CSS_AUTHORING_HINTS = "cssAuthoringHints", AUTHORED_DEPLOYED_GROUPING = "authoredDeployedGrouping", IMPORTANT_DOM_PROPERTIES = "importantDOMProperties", JUST_MY_CODE = "justMyCode", BREAKPOINT_VIEW = "breakpointView", PRELOADING_STATUS_PANEL = "preloadingStatusPanel", DISABLE_COLOR_FORMAT_SETTING = "disableColorFormatSetting" } export declare enum ConditionName { CAN_DOCK = "can_dock", NOT_SOURCES_HIDE_ADD_FOLDER = "!sources.hide_add_folder" }