import { MutableRefObject } from 'react'; export declare const getWebAppFromGlobal: () => import("./twa-types").WebApp | null; export declare const webAppContext: import("react").Context; /** * This object describe options be able to set through WebAppProvider */ export type Options = { /** * When is `true`, we can smooth button transitions due to show(), hide() calls. * So when you use MainButton or BackButton on multiple pages, there will be * no noticeable flickering of the button during transitions * @defaultValue `false` */ smoothButtonsTransition?: boolean; async?: boolean; /** * @defaultValue `10` * @remarks */ smoothButtonsTransitionMs?: number; }; export declare const DEFAULT_OPTIONS: Options; export declare const optionsContext: import("react").Context; type SystemContext = { MainButton: MutableRefObject; BackButton: MutableRefObject; }; export declare const createSystemContextValue: () => { MainButton: { current: null; }; BackButton: { current: null; }; }; export declare const systemContext: import("react").Context; export {};