export declare type WorkerCallback = ( path: string, relative: boolean ) => Promise;