import * as React from 'react'; import { BearerInstance } from '@bearer/js'; interface IBearerProviderProps { clientId: string; domObserver?: boolean; integrationHost?: string; initialContext?: any; onUpdate?(currentState: any): void; } export interface IBearerContextValue { bearer: BearerInstance; state: any; handlePropUpdates?(e: any): void; } export declare const BearerContext: React.Context; interface IBearerProviderState { bearer: BearerInstance; integrationState: any; } export default class BearerProvider extends React.Component { constructor(props: IBearerProviderProps); render(): JSX.Element; componentWillReceiveProps(newProps: IBearerProviderProps, oldProps: IBearerProviderProps): void; componentDidUpdate(_prevProps: IBearerProviderProps, prevState: any): void; private readonly handlePropUpdates; private initBearerFromProps; } export {};