UNPKG

@difizen/ai-flow

Version:

Scalable, out-of-the-box, agent-oriented flow

23 lines (22 loc) 871 B
import type { Node } from '@xyflow/react'; export type HelpLineHorizontalPosition = { top: number; left: number; width: number; }; export type HelpLineVerticalPosition = { top: number; left: number; height: number; }; export interface HelpLineStoreType { helpLineHorizontal?: HelpLineHorizontalPosition | undefined; setHelpLineHorizontal: (helpLineHorizontal?: HelpLineHorizontalPosition) => void; helpLineThreshold: number; setHelpLineThreshold: (helpLineThreshold: number) => void; helpLineVertical?: HelpLineVerticalPosition; setHelpLineVertical: (helpLineVertical?: HelpLineVerticalPosition) => void; showHorizontalHelpLine: (node: Node) => Node[]; showVerticalHelpLine: (node: Node) => Node[]; } export declare const useHelpLine: import("zustand").UseBoundStore<import("zustand").StoreApi<HelpLineStoreType>>;