export declare function trimFileName(fileName: string, cwd?: string, platform?: 'posix' | 'win32'): string;