@developer.notchatbot/webchat
Version:
A beautiful React chatbot widget with single-file bundle
26 lines (25 loc) • 657 B
TypeScript
export interface EndpointConfig {
baseUrl: string;
chatEndpoint: string;
conversationEndpoint: string;
}
/**
* Detecta si estamos en ambiente de desarrollo
*/
export declare function isDevelopmentEnvironment(): boolean;
/**
* Obtiene la configuración de endpoints según el ambiente
*/
export declare function getEndpointConfig(): EndpointConfig;
/**
* Obtiene el endpoint de chat
*/
export declare function getChatEndpoint(): string;
/**
* Obtiene el endpoint de conversación
*/
export declare function getConversationEndpoint(): string;
/**
* Obtiene la URL base según el ambiente
*/
export declare function getBaseUrl(): string;