UNPKG

react-native-crisp-chat-sdk

Version:
29 lines 1.16 kB
import * as React from 'react'; export declare enum CrispSessionEventColors { RED = 0, ORANGE = 1, YELLOW = 2, GREEN = 3, BLUE = 4, PURPLE = 5, PINK = 6, BROWN = 7, GREY = 8, BLACK = 9 } declare const CrispChat: React.FC; export default CrispChat; export declare const configure: (websiteId: string) => void; export declare const setTokenId: (id: string) => void; export declare const setUserEmail: (email: string) => void; export declare const setUserNickname: (name: string) => void; export declare const setUserPhone: (phone: string) => void; export declare const setUserAvatar: (url: string) => void; export declare const setSessionSegment: (segment: string) => void; export declare const setSessionString: (key: string, value: string) => void; export declare const setSessionBool: (key: string, value: boolean) => void; export declare const setSessionInt: (key: string, value: number) => void; export declare const pushSessionEvent: (name: string, color: CrispSessionEventColors) => void; export declare const resetSession: () => void; export declare const show: () => void; //# sourceMappingURL=index.d.ts.map