import { PropsWithChildren, ReactElement } from 'react';
import { Options } from './core';
export type WebAppProviderProps = PropsWithChildren<{
options?: Options;
}>;
/**
* WebAppProvider provide context with WebApp for components and hooks.
* Necessary to use only if you want to override `options`
*
* ```tsx
* import { WebAppProvider } from "@vkruglikov/react-telegram-web-app";
*
*
*
*
*
* // You can pass options {@link Options}
*
*
*
* ```
* @param props
* @group React Components
*/
declare const WebAppProvider: ({ children, options, }: WebAppProviderProps) => ReactElement;
export default WebAppProvider;