/** * Check if url matches allow list either exactly or by domain+path */ export default function isUrlAllowed(url: string, allowList: string | string[]): boolean;