/// <reference types="node" />
import fs from 'fs';
export declare type LocalStorage = {
    list: any;
    secret: string;
};
export declare function getFileStats(packagePath: string): Promise<fs.Stats>;
export declare function readDirectory(packagePath: string): Promise<string[]>;
export declare function findPackages(storagePath: string, validationHandler: Function): Promise<{
    name: string;
    path: string;
}[]>;
