export declare function containsUnsafePathParts(filePath: string): boolean; /** * This function is used for urls, because they can contain a TAB, carriage return or line feed that is silently removed by the URL constructor. * It also recognizes percent-encoded dot segments (e.g. "%2e%2e"), * because the WHATWG URL parser normalizes them the same way as a literal ".." segment. * * The WHATWG URL spec defines the following: * - Remove all ASCII tab or newline from input. * - An ASCII tab or newline is U+0009 TAB, U+000A LF, or U+000D CR. * * See https://url.spec.whatwg.org/#url-parsing */ export declare function containsUnsafePathPartsUrl(filePath: string): boolean;