import React from 'react'; import { ColorSchemeName } from 'react-native'; import { AgeCheckContactInfo } from '../screens/age_check/screen_props'; import { DeepPartial } from '../types'; import { FailedResponse } from '../types'; import { ProductAnalyticsConfig } from '../types/product_analytics'; import { ENV, OauthType, PartialToken, Session } from '../utils'; import { ChatTheme, DefaultTheme } from '../utils/theme'; export interface ChatProviderProps { env?: ENV; giphyApiKey?: string; onAgeDisqualification?: (params: AgeCheckContactInfo) => void; onUnauthorizedResponse: (_response: FailedResponse) => void; token?: PartialToken; tokenType?: OauthType; theme: CreateChatThemeProps; edgeToEdge?: boolean; liquidGlassEnabled?: boolean; } export interface ChatContextValue extends Omit { session: Session; theme: ChatTheme; onAgeDisqualification: (params: AgeCheckContactInfo) => void; productAnalyticsConfig: ProductAnalyticsConfig | undefined; } export declare const ChatContext: React.Context; export declare function ChatProvider({ children, value }: { children: any; value: ChatProviderProps; }): import("react/jsx-runtime").JSX.Element; export interface CreateChatThemeProps { theme?: DeepPartial; colorScheme?: ColorSchemeName; } export declare const useChatContext: () => ChatContextValue; export declare const useCreateChatTheme: ({ theme: customTheme, colorScheme: appColorScheme, }: CreateChatThemeProps) => ChatTheme; //# sourceMappingURL=chat_context.d.ts.map