UNPKG

mind-link-ai-widget

Version:

A react widget for React Web and React-Native Mobile integrations.

21 lines 854 B
declare let globalConfig: { apiHost: string; senderApp: string; apiKey: string; } | null; export declare function enableDebugMode(enabled: boolean): void; export declare function setApiConfig(config: typeof globalConfig): void; export declare const ALG = "HS256"; export declare function decodeJwtExp(token: string): number | null; export declare function getAccessToken(): Promise<string>; export declare function fetchIntentsAndEntities(token: string, query: string): Promise<any>; export declare function fetchCredibleMindSuggestions(token: string, content_query: string): Promise<any>; export declare function fetchProviderSearch(token: string, slots: { gender?: string; specialty?: string; provider_type?: string; location?: string; language?: string; }): Promise<any>; export {}; //# sourceMappingURL=api-rn.d.ts.map