import { PropsWithChildren } from 'react'; import { StreamVideoClient } from '@stream-io/video-client'; import { StreamI18nProviderProps } from './StreamI18nContext'; /** * The props for the StreamVideoProvider component. */ export type StreamVideoProps = StreamI18nProviderProps & { /** * The client instance to provide to the component tree. */ client: StreamVideoClient; }; /** * StreamVideo is a provider component which should be used to wrap the entire application. * It provides the client object to all children components and initializes the i18n instance. */ export declare const StreamVideoProvider: ({ children, client, i18nInstance, language, translationsOverrides, }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element; /** * Hook to access the nearest StreamVideo client instance. */ export declare const useStreamVideoClient: () => StreamVideoClient | undefined;