/** * Special resolve that * - if finalPath null, then, return dir. * - resolve any path to dir if it starts with './' or '../', * - absolute path if it starts with '/' * - baseDir if the path does not start with either '/' or './' * @param baseDir * @param dir * @param finalPath dir or file path */ export declare function specialPathResolve(baseDir: string, dir: string, finalPath?: string): string;