| 1 | // Alchemy modifications are licensed under Apache-2.0. |
| 2 | // This file includes third-party code; see /THIRD_PARTY_LICENSES.md. |
| 3 | export declare const extractPathname: ( |
| 4 | path: string | undefined, |
| 5 | includeSearch: boolean, |
| 6 | includeHash: boolean, |
| 7 | ) => string; |
| 8 | export declare const validateUrl: ( |
| 9 | token: string, |
| 10 | onlyRelative?: boolean, |
| 11 | disallowPorts?: boolean, |
| 12 | includeSearch?: boolean, |
| 13 | includeHash?: boolean, |
| 14 | ) => [undefined, string] | [string, undefined]; |
| 15 | export declare function urlHasHost(token: string): boolean; |
| 16 | //# sourceMappingURL=validateURL.d.ts.map |