react-native-langflow-chat
Version:
A native React Native component for integrating LangFlow chat with streaming support, citation bubbles, react-native-marked rendering, and customizable UI
33 lines • 794 B
TypeScript
import { ChatPosition } from "../types";
/**
* Calcola la posizione del pulsante trigger in base alla posizione specificata
*/
export declare const getTriggerButtonPosition: (chatPosition: ChatPosition) => {
top: number;
left: number;
position: "absolute";
zIndex: number;
} | {
top: number;
right: number;
position: "absolute";
zIndex: number;
} | {
bottom: number;
left: number;
position: "absolute";
zIndex: number;
} | {
bottom: number;
right: number;
position: "absolute";
zIndex: number;
};
/**
* Funzioni di debug condizionale
*/
export declare const createDebugLogger: (debugEnabled: boolean) => {
debugLog: (...args: any[]) => void;
debugError: (...args: any[]) => void;
};
//# sourceMappingURL=index.d.ts.map