import { IDisposable } from "../../../base/common/lifecycle.js"; import { Event, type URI } from "../../../sessions/sessions.web.main.internal.js"; import { IDataChannelEvent, CoreDataChannel, type ILinkPresentationProvider, type ILinkPresentationProviderRegistration, type ILinkPresentationRule, type ILinkPresentationWatcher } from "./dataChannel.js"; export declare const IDataChannelService: import("../../instantiation/common/instantiation.js").ServiceIdentifier; export interface IDataChannelService { readonly _serviceBrand: undefined; readonly onDidSendData: Event; getDataChannel(channelId: string): CoreDataChannel; } export declare const ILinkPresentationService: import("../../instantiation/common/instantiation.js").ServiceIdentifier; export interface ILinkPresentationService { readonly _serviceBrand: undefined; readonly onDidChangeLinkPresentationRules: Event; readonly linkPresentationRules: readonly ILinkPresentationRule[]; registerLinkPresentationProvider(registration: ILinkPresentationProviderRegistration, provider: ILinkPresentationProvider): IDisposable; registerExtensionLinkPresentationProvider(extensionId: string, providerId: string, provider: ILinkPresentationProvider): IDisposable; getLinkPresentationRule(resource: URI): ILinkPresentationRule | undefined; createLinkPresentationWatcher(providerId: string, resource: URI): ILinkPresentationWatcher | undefined; }