export declare function scanHandler(rootPath: string, options: any): Promise;