import type * as SDK from '../../core/sdk/sdk.js'; import * as Bindings from '../bindings/bindings.js'; import { type Chrome } from '../../../extension-api/ExtensionAPI.js'; export declare class LanguageExtensionEndpoint implements Bindings.DebuggerLanguagePlugins.DebuggerLanguagePlugin { private readonly supportedScriptTypes; private endpoint; name: string; constructor(name: string, supportedScriptTypes: { language: string; symbol_types: Array; }, port: MessagePort); handleScript(script: SDK.Script.Script): boolean; /** Notify the plugin about a new script */ addRawModule(rawModuleId: string, symbolsURL: string, rawModule: Chrome.DevTools.RawModule): Promise; /** * Notifies the plugin that a script is removed. */ removeRawModule(rawModuleId: string): Promise; /** Find locations in raw modules from a location in a source file */ sourceLocationToRawLocation(sourceLocation: Chrome.DevTools.SourceLocation): Promise; /** Find locations in source files from a location in a raw module */ rawLocationToSourceLocation(rawLocation: Chrome.DevTools.RawLocation): Promise; getScopeInfo(type: string): Promise; /** List all variables in lexical scope at a given location in a raw module */ listVariablesInScope(rawLocation: Chrome.DevTools.RawLocation): Promise; /** List all function names (including inlined frames) at location */ getFunctionInfo(rawLocation: Chrome.DevTools.RawLocation): Promise<{ frames: Array; }>; /** Find locations in raw modules corresponding to the inline function * that rawLocation is in. */ getInlinedFunctionRanges(rawLocation: Chrome.DevTools.RawLocation): Promise; /** Find locations in raw modules corresponding to inline functions * called by the function or inline frame that rawLocation is in. */ getInlinedCalleesRanges(rawLocation: Chrome.DevTools.RawLocation): Promise; getTypeInfo(expression: string, context: Chrome.DevTools.RawLocation): Promise<{ typeInfos: Array; base: Chrome.DevTools.EvalBase; } | null>; getFormatter(expressionOrField: string | { base: Chrome.DevTools.EvalBase; field: Array; }, context: Chrome.DevTools.RawLocation): Promise<{ js: string; }>; getInspectableAddress(field: { base: Chrome.DevTools.EvalBase; field: Array; }): Promise<{ js: string; }>; getMappedLines(rawModuleId: string, sourceFileURL: string): Promise; evaluate(expression: string, context: Chrome.DevTools.RawLocation, stopId: number): Promise; getProperties(objectId: Chrome.DevTools.RemoteObjectId): Promise; releaseObject(objectId: Chrome.DevTools.RemoteObjectId): Promise; }