export declare function toAbsolutePath(resolvePath: string | undefined, basePath?: string): undefined | string;