export declare function validate(directory: string): Promise;