1 | import * as React from 'react';
|
2 | import { ActionSheetOptions } from '@expo/react-native-action-sheet';
|
3 | export interface IGiftedChatContext {
|
4 | actionSheet(): {
|
5 | showActionSheetWithOptions: (options: ActionSheetOptions, callback: (buttonIndex?: number) => void | Promise<void>) => void;
|
6 | };
|
7 | getLocale(): string;
|
8 | }
|
9 | export declare const GiftedChatContext: React.Context<IGiftedChatContext>;
|
10 | export declare const useChatContext: () => IGiftedChatContext;
|