import { AbstractCancellationTokenSource, CancellationStrategy, CancellationToken } from 'vscode-languageserver'; import { CancellationProvider } from './cancellationUtils'; export declare function getCancellationFolderPath(folderName: string): string; export declare function getCancellationStrategyFromArgv(argv: string[]): CancellationStrategy; export declare function disposeCancellationToken(token: CancellationToken): void; export declare function getCancellationTokenFromId(cancellationId: string): CancellationToken; export declare class FileBasedCancellationProvider implements CancellationProvider { private _prefix; constructor(_prefix: string); createCancellationTokenSource(): AbstractCancellationTokenSource; }