/** * The web's handoff to the phone app. On a phone browser, session and * workspace pages offer "Open in app", which hands the page's own URL to the * app (`opengeni://open?url=…`); the app opens the same session or workspace * on the account that matches this server. */ /** The app link that opens `webUrl` in the app; a product's app passes its own scheme. */ export declare function openInAppUrl(webUrl: string, scheme?: string): string; /** * iPhone, iPad and Android browsers, where the phone app can be installed. * iPadOS reports a desktop Mac user agent, so a Mac with a touch screen * counts as an iPad. */ export declare function isPhoneAppPlatform(userAgent: string | undefined, maxTouchPoints?: number): boolean; /** Pages the app opens itself: a workspace, its sessions list, or one session. */ export declare function isAppOpenablePath(pathname: string): boolean; export declare function currentPhoneAppPlatform(): boolean; export declare function openInAppBannerDismissed(): boolean; export declare function dismissOpenInAppBanner(): void;