import * as react from 'react';
import { PropsWithChildren, FunctionComponent } from 'react';
import { Configuration, Plug } from '@croct/plug';

type CroctProviderProps = PropsWithChildren<Configuration & Required<Pick<Configuration, 'appId'>>>;
declare const CroctContext: react.Context<{
    plug: Plug;
} | null>;
declare const CroctProvider: FunctionComponent<CroctProviderProps>;

export { CroctContext, CroctProvider, type CroctProviderProps };
