/** * Inbound URL delivery — shared by the native (`linking.ts`) and web * (`linking.web.ts`) implementations. Both platforms feed the same * framework-blessed channels: a publisher writes * `lynx.__globalProps.initialURL` and fires `sendGlobalEvent('urlReceived', * [url])` (native `LinkingPublisher`; on web `@sigx/lynx-web-host`'s * linking publisher), so the readers here are platform-independent. */ export declare const URL_EVENT = "urlReceived"; export declare const GLOBAL_PROPS_KEY = "initialURL"; export interface URLEvent { url: string; } export type URLListener = (event: URLEvent) => void; export interface URLSubscription { remove(): void; } /** Latest URL the publisher has seen (`__globalProps.initialURL`), or null. */ export declare function readInitialURL(): string | null; /** Subscribe to `urlReceived` events on Lynx's `GlobalEventEmitter`. */ export declare function subscribeUrl(listener: URLListener): URLSubscription; //# sourceMappingURL=inbound.d.ts.map