declare function assertPathUnderRoot(rootDirectory: string, userPath: string): string; /** Map a URL pathname onto a document root. Leading slashes are not filesystem-absolute. */ declare function assertUrlPathUnderRoot(rootDirectory: string, urlPathname: string): string; export { assertPathUnderRoot, assertUrlPathUnderRoot };