CanonicalFn: ((location: string) => Promise<string>)