/** * Open URL definition. */ export interface OpenUrl { /** * The HTTP or HTTPS URL to open in Chrome for iOS. */ url: string; } /** * Open an HTTP or HTTPS URL in Chrome for iOS. * * @param payload Open URL command payload. * @returns Chrome for iOS URL with the official replacement scheme. * @throws When the URL scheme is not `http` or `https`. * @example * openUrl({ url: 'https://www.google.com/' }) * // => 'googlechromes://www.google.com/' * @link https://chromium.googlesource.com/chromium/src/+/lkgr/docs/ios/opening_links.md */ export declare function openUrl(payload: OpenUrl): string;