export type LinkMePayload = { linkId?: string; path?: string; params?: Record; utm?: Record; custom?: Record; url?: string; isLinkMe?: boolean; cid?: string; duplicate?: boolean; }; export type LinkListener = (payload: LinkMePayload) => void; export type FetchLike = (input: RequestInfo | URL, init?: RequestInit) => Promise; export type LinkMeWebConfig = { baseUrl?: string; appId?: string; appKey?: string; fetch?: FetchLike; debug?: boolean; autoResolve?: boolean; autoListen?: boolean; stripCid?: boolean; sendDeviceInfo?: boolean; resolveUniversalLinks?: boolean; }; export type NormalizedConfig = { baseUrl: string; apiBaseUrl: string; origin: string; appId?: string; appKey?: string; debug: boolean; autoResolve: boolean; autoListen: boolean; stripCid: boolean; sendDeviceInfo: boolean; resolveUniversalLinks: boolean; };