import { URI } from "../../../../base/common/uri.js"; import { ITerminalInstance } from "./terminal.js"; export interface ITerminalUriMetadata { title?: string; commandId?: string; commandLine?: string; } export declare function parseTerminalUri(resource: URI): ITerminalIdentifier; export declare function getTerminalUri(workspaceId: string, instanceId: number, title?: string, commandId?: string): URI; export interface ITerminalIdentifier { workspaceId: string; instanceId: number | undefined; } export interface IPartialDragEvent { dataTransfer: Pick | null; } export declare function getTerminalResourcesFromDragEvent(event: IPartialDragEvent): URI[] | undefined; export declare function getInstanceFromResource>(instances: T[], resource: URI | undefined): T | undefined;