import type { inferRouterInputs, inferRouterOutputs } from '@trpc/server';
import type { AppRouter } from '../../server/router.js';
export type RouterInputs = inferRouterInputs<AppRouter>;
export type RouterOutputs = inferRouterOutputs<AppRouter>;
type AsyncIterableValue<T> = T extends AsyncIterable<infer Value> ? Value : T;
export type ControlPlaneState = RouterOutputs['controlPlane']['state'];
export type ControlPlaneSessions = RouterOutputs['controlPlane']['sessions'];
export type ControlPlaneSessionView = ControlPlaneSessions['sessions'][number];
export type ControlPlaneSessionDetail = RouterOutputs['controlPlane']['session'];
export type ControlPlaneSessionEventEnvelope = AsyncIterableValue<RouterOutputs['controlPlane']['sessionEvents']>;
export type ControlPlaneSessionsEventEnvelope = AsyncIterableValue<RouterOutputs['controlPlane']['sessionsEvents']>;
export type ControlPlaneHeartbeatEventEnvelope = AsyncIterableValue<RouterOutputs['controlPlane']['heartbeatEvents']>;
export type ControlPlaneSessionMessage = NonNullable<ControlPlaneSessionDetail>['messages'][number];
export type ControlPlaneSessionRuntimeContext = RouterOutputs['controlPlane']['sessionRuntimeContext'];
export type ControlPlanePendingApproval = RouterOutputs['controlPlane']['sessionPendingApproval'];
export type ControlPlaneSessionTurn = NonNullable<ControlPlaneSessionDetail>['turns'][number];
export type ControlPlaneApprovalDecision = RouterInputs['controlPlane']['sessionResolveApproval']['decision'];
export type ControlPlaneSessionSendPromptResult = RouterOutputs['controlPlane']['sessionSendPrompt'];
export type ControlPlaneSessionSendPromptAsyncResult = RouterOutputs['controlPlane']['sessionSendPromptAsync'];
export type ControlPlaneSessionDirectShellPreflight = RouterOutputs['controlPlane']['sessionDirectShellPreflight'];
export type ControlPlaneSessionDirectShellAsyncResult = RouterOutputs['controlPlane']['sessionDirectShellAsync'];
export type ControlPlaneSlashCommandCatalog = RouterOutputs['controlPlane']['slashCommandCatalog'];
export type ControlPlaneSlashCommandHint = ControlPlaneSlashCommandCatalog['hints'][number];
export type ControlPlaneSlashCommandResult = RouterOutputs['controlPlane']['slashCommandExecute'];
export type ControlPlaneModelOptions = RouterOutputs['controlPlane']['modelOptions'];
export type ControlPlaneSessionSettingsInput = RouterInputs['controlPlane']['sessionSettingsUpdate'];
export type ControlPlanePermissionModeUpdateInput = RouterInputs['controlPlane']['workspacePermissionModeUpdate'];
export type ControlPlanePermissionModeUpdateResult = RouterOutputs['controlPlane']['workspacePermissionModeUpdate'];
export type ControlPlanePermissionMode = ControlPlanePermissionModeUpdateInput['mode'];
export type ControlPlaneHeartbeatTasks = RouterOutputs['controlPlane']['heartbeatTasks'];
export type ControlPlaneHeartbeatTask = RouterOutputs['controlPlane']['heartbeatTask'];
export type ControlPlaneHeartbeatTaskCreate = RouterOutputs['controlPlane']['heartbeatTaskCreate'];
export type ControlPlaneHeartbeatTaskUpdate = RouterOutputs['controlPlane']['heartbeatTaskUpdate'];
export type ControlPlaneHeartbeatTaskDelete = RouterOutputs['controlPlane']['heartbeatTaskDelete'];
export type ControlPlaneHeartbeatTaskResume = RouterOutputs['controlPlane']['heartbeatTaskResume'];
export type ControlPlaneHeartbeatTaskView = ControlPlaneHeartbeatTasks['tasks'][number];
export type ControlPlaneHeartbeatRunView = ControlPlaneHeartbeatTask['runs'][number];
export type ControlPlaneHeartbeatRun = RouterOutputs['controlPlane']['heartbeatRun'];
export type ControlPlaneHeartbeatTaskRunNow = RouterOutputs['controlPlane']['heartbeatTaskRunNow'];
export type ControlPlaneMemoryStatus = RouterOutputs['controlPlane']['memoryStatus'];
export type ControlPlaneBrowserAutomation = RouterOutputs['controlPlane']['browserAutomation'];
export type ControlPlaneSkills = RouterOutputs['controlPlane']['skills'];
export type ControlPlaneSkillActivationView = ControlPlaneSkills['skills'][number];
export type ControlPlaneMcpServers = RouterOutputs['controlPlane']['mcpServers'];
export type ControlPlaneMcpServerView = ControlPlaneMcpServers['servers'][number];
export type ControlPlaneMcpConfig = RouterOutputs['controlPlane']['mcpConfig'];
export type ControlPlaneWorkspaceChanges = RouterOutputs['controlPlane']['workspaceChanges'];
export type ControlPlaneWorkspaceChangedFile = ControlPlaneWorkspaceChanges['files'][number];
export type ControlPlaneWorkspaceFileDiff = RouterOutputs['controlPlane']['workspaceFileDiff'];
export type ControlPlaneWorkspaceFileSearch = RouterOutputs['controlPlane']['workspaceFileSearch'];
export type ControlPlaneWorkspaceFileSuggestion = ControlPlaneWorkspaceFileSearch['files'][number];
export {};
//# sourceMappingURL=types.d.ts.map