import { Uri as URI } from '@opensumi/ide-core-common';
import { ExtensionDocumentDataManager } from '../../../../common/vscode';
import { FoldingContext, FoldingRange } from '../../../../common/vscode/model.api';
import type vscode from 'vscode';
export declare class FoldingProviderAdapter {
    private documents;
    private provider;
    constructor(documents: ExtensionDocumentDataManager, provider: vscode.FoldingRangeProvider);
    provideFoldingRanges(resource: URI, context: FoldingContext, token: vscode.CancellationToken): Promise<FoldingRange[] | undefined>;
}
//# sourceMappingURL=folding.d.ts.map