UNPKG

@dev-fastn-ai/react-core

Version:

React hooks and components for integrating Fastn AI connector marketplace into your applications. Built on top of @fastn-ai/core with React Query for optimal performance.

7 lines (6 loc) 293 B
import { Event } from "../types"; type EventCallback = () => void; export declare const sendEvent: (event: Event) => void; export declare const onEvent: (event: Event, callback: EventCallback) => void; export declare const offEvent: (event: Event, callback: EventCallback) => void; export {};