import { PyTypedInfo } from './analyzer/pyTypedUtils'; import { ExecutionEnvironment } from './common/configOptions'; import { FileSystem } from './common/fileSystem'; import { Uri } from './common/uri/uri'; export interface SupportPartialStubs { isPartialStubPackagesScanned(execEnv: ExecutionEnvironment): boolean; isPathScanned(path: Uri): boolean; processPartialStubPackages(paths: Uri[], roots: Uri[], bundledStubPath?: Uri): void; clearPartialStubs(): void; } export declare namespace SupportPartialStubs { function is(value: any): value is SupportPartialStubs; } export declare class PartialStubService implements SupportPartialStubs { private _realFs; private readonly _rootSearched; private readonly _partialStubPackagePaths; private _movedDirectories; constructor(_realFs: FileSystem); isPartialStubPackagesScanned(execEnv: ExecutionEnvironment): boolean; isPathScanned(uri: Uri): boolean; processPartialStubPackages(paths: Uri[], roots: Uri[], bundledStubPath?: Uri, allowMoving?: (isBundled: boolean, packagePyTyped: PyTypedInfo | undefined, _stubPyTyped: PyTypedInfo) => boolean): void; clearPartialStubs(): void; private _allowMoving; }