import { URI } from "../../../../base/common/uri.js"; import { IRange } from "../../../../editor/common/core/range.js"; import { IEditorService } from "../../../services/editor/common/editorService.service.js"; import { IEditorPane } from "../../../common/editor.js"; import { IUriIdentityService } from "../../../../platform/uriIdentity/common/uriIdentity.service.js"; import { ILogService } from "../../../../platform/log/common/log.service.js"; export declare const UNKNOWN_SOURCE_LABEL: string; /** * Debug URI format * * a debug URI represents a Source object and the debug session where the Source comes from. * * debug:arbitrary_path?session=123e4567-e89b-12d3-a456-426655440000&ref=1016 * \___/ \____________/ \__________________________________________/ \______/ * | | | | * scheme source.path session id source.reference * * */ export declare class Source { readonly uri: URI; available: boolean; raw: DebugProtocol.Source; constructor(raw_: DebugProtocol.Source | undefined, sessionId: string, uriIdentityService: IUriIdentityService, logService: ILogService); get name(): string; get origin(): string | undefined; get presentationHint(): "normal" | "emphasize" | "deemphasize" | undefined; get reference(): number | undefined; get inMemory(): boolean; openInEditor(editorService: IEditorService, selection: IRange, preserveFocus?: boolean, sideBySide?: boolean, pinned?: boolean): Promise; static getEncodedDebugData(modelUri: URI): { name: string; path: string; sessionId?: string; sourceReference?: number; }; } export declare function getUriFromSource(raw: DebugProtocol.Source, path: string | undefined, sessionId: string, uriIdentityService: IUriIdentityService, logService: ILogService): URI;