import { Uri as URI } from '@opensumi/ide-core-common';
import { ExtensionDocumentDataManager } from '../../../../common/vscode/doc';
import { Definition, DefinitionLink, Position } from '../../../../common/vscode/model.api';
import type vscode from 'vscode';
export declare class DeclarationAdapter {
    private readonly provider;
    private readonly documents;
    constructor(provider: vscode.DeclarationProvider, documents: ExtensionDocumentDataManager);
    provideDeclaration(resource: URI, position: Position, token: vscode.CancellationToken): Promise<Definition | DefinitionLink[] | undefined>;
}
//# sourceMappingURL=declaration.d.ts.map