type NPMTreeMeta = {
    default: string;
    files: Array<{
        name: string;
    }>;
    moduleName: string;
    version: string;
};
export declare const loadTypes: (packageName: string, version: string, onFileReceived: (path: string, content: string) => void) => Promise<void>;
export declare const loadTypesFileTree: (packageName: string, version: string) => Promise<NPMTreeMeta>;
export declare const loadFileContent: (packageName: string, fileName: string, version?: string) => Promise<string>;
export {};
