export declare function resolveStaticFile(root: string, pathname: string): Promise;