import type { EndpointConfig } from '../../config/endpoints.js'; import type { NodeExecutionStatus, KanbanColumnDef } from '../../types/index.js'; export type NodeStatus = NodeExecutionStatus; export interface NodeStatusData { status: string; last_executed?: string | null; execution_time?: number | null; error?: string | null; } export declare function resolveStatus(raw: NodeStatusData | undefined): NodeStatus; /** * Creates a reactive pipeline data fetcher. * `endpointConfig` is used once to construct the API client — it must be stable. * `getPipelineId` is called on every fetch so pipeline ID changes are picked up. */ export declare function createPipelineDataFetcher(getPipelineId: () => string, endpointConfig: EndpointConfig): { readonly nodeStatusMap: Record; readonly kanbanConfig: KanbanColumnDef[] | null; readonly isLoading: boolean; readonly isError: boolean; fetchData: () => Promise; };