import { Uri as URI } from '@opensumi/ide-core-common';
import { ExtensionDocumentDataManager } from '../../../../common/vscode';
import { Location, Position, ReferenceContext } from '../../../../common/vscode/model.api';
import type vscode from 'vscode';
export declare class ReferenceAdapter {
    private readonly provider;
    private readonly documents;
    constructor(provider: vscode.ReferenceProvider, documents: ExtensionDocumentDataManager);
    provideReferences(resource: URI, position: Position, context: ReferenceContext, token: vscode.CancellationToken): Promise<Location[] | undefined>;
}
//# sourceMappingURL=reference.d.ts.map