import { Uri as URI } from '@opensumi/ide-core-common';
import { ExtensionDocumentDataManager } from '../../../../common/vscode';
import { ISignatureHelpDto, Position, SignatureHelpContextDto } from '../../../../common/vscode/model.api';
import type vscode from 'vscode';
export declare class SignatureHelpAdapter {
    private readonly delegate;
    private readonly documents;
    private cacheId;
    private cache;
    constructor(delegate: vscode.SignatureHelpProvider, documents: ExtensionDocumentDataManager);
    provideSignatureHelp(resource: URI, position: Position, token: vscode.CancellationToken, context: SignatureHelpContextDto): Promise<ISignatureHelpDto | undefined>;
    private reviveContext;
    releaseSignatureHelp(id: number): void;
}
//# sourceMappingURL=signature.d.ts.map