import type { Router } from "../router.js"; import type { Entity } from "../../types.js"; type JsonRecord = Record; type LiveInitiativesResponse = { initiatives: unknown[]; total?: number; pagination?: { limit?: number; offset?: number; has_more?: boolean; }; }; type LiveDecisionsResponse = { decisions: Entity[]; total: number; }; type HandoffsResponse = { handoffs: unknown[]; }; type LocalSnapshot = Awaited>; type RegisterLiveMiscRoutesDeps = { parseJsonRequest: (req: TReq) => Promise; pickString: (input: Record, keys: string[]) => string | null; summarizeActivityHeadline: (input: { text: string; title: string | null; type: string | null; }) => Promise<{ headline: string; source: string; model: string | null; }>; getLiveAgents: (input: { initiative: string | null; projectId: string | null; includeIdle: boolean | undefined; }) => Promise; getLiveInitiatives: (input: { id: string | null; projectId: string | null; limit: number | undefined; offset: number | undefined; }) => Promise; getLiveDecisions: (input: { status: string; projectId: string | null; limit: number; }) => Promise; getHandoffs: () => Promise; listInitiativeIdsForProject: (input: { projectId: string; }) => Promise; loadLocalOpenClawSnapshot: (limit: number) => Promise; toLocalLiveAgents: (snapshot: LocalSnapshot) => { agents: Array<{ initiativeId: string | null; status: string; }>; }; toLocalLiveInitiatives: (snapshot: LocalSnapshot) => { initiatives: Array<{ id: string; title: string; status: string; updatedAt: string | null; sessionCount: number; activeAgents: number; }>; }; localInitiativeStatusOverrides: Map; buildMissionControlGraph?: (initiativeId: string) => Promise; mapDecisionEntity: (entry: Entity) => { waitingMinutes: number; }; sendJson: (res: TRes, status: number, payload: unknown) => void; safeErrorMessage: (err: unknown) => string; }; export declare function registerLiveMiscRoutes(router: Router, TReq, TRes>, deps: RegisterLiveMiscRoutesDeps): void; export {};