export declare function getSize(path: string, gzip: boolean): Promise;