import Machinat, { RenderingChannel } from '@machinat/core'; declare type WebviewButtonProps = { /** Button title. 20 character limit. */ title: string; /** The webview page to open */ page?: string; /** Height of the Webview. */ webviewHeightRatio?: 'compact' | 'tall' | 'full'; /** Set to `true` to disable the share button in the Webview (for sensitive info) */ hideShareButton?: boolean; }; declare const _default: import("@machinat/core/service").ServiceContainer<({ title, page, webviewHeightRatio, hideShareButton, }: WebviewButtonProps) => Machinat.JSX.Element | null, [import("./ServerAuthenticator").MessengerServerAuthenticator, RenderingChannel]> & ((args_0: import("./ServerAuthenticator").MessengerServerAuthenticator, args_1: RenderingChannel) => ({ title, page, webviewHeightRatio, hideShareButton, }: WebviewButtonProps) => Machinat.JSX.Element | null); export default _default;