import { CancellationToken, IRange, Uri } from '@opensumi/ide-core-common';
import { ExtensionDocumentDataManager } from '../../../../common/vscode';
import { IInlayHintDto, IInlayHintsDto } from '../../../../common/vscode/languages';
import { ChainedCacheId } from '../../../../common/vscode/model.api';
import { CommandsConverter } from '../ext.host.command';
import type vscode from 'vscode';
export declare class InlayHintsAdapter {
    private readonly _documents;
    private readonly _provider;
    private readonly _commands;
    private _cache;
    private readonly _disposables;
    constructor(_documents: ExtensionDocumentDataManager, _provider: vscode.InlayHintsProvider, _commands: CommandsConverter);
    provideInlayHints(resource: Uri, ran: IRange, token: CancellationToken): Promise<IInlayHintsDto | undefined>;
    resolveInlayHint(id: ChainedCacheId, token: CancellationToken): Promise<IInlayHintDto | undefined>;
    releaseHints(id: number): Promise<void>;
    private _isValidInlayHint;
    private _convertInlayHint;
}
//# sourceMappingURL=inlay-hints.d.ts.map