import * as React from "react"; import type { McodaAgentCatalogEntry, McodaAgentSetupClient, McodaAgentSetupSnapshot, McodaGpuJobOpsPanelData, McodaGpuJobOpsPanelJob, McodaSelfHostedServer, McodaStageDefinition } from "../types.js"; export interface McodaAgentSetupPageProps { client: McodaAgentSetupClient; stages?: McodaStageDefinition[]; title?: string; className?: string; labels?: Partial; components?: Partial; gpuJobOps?: McodaGpuJobOpsPanelData | null; onGpuJobOpsRefresh?: () => void | Promise; onGpuJobViewDetails?: (job: McodaGpuJobOpsPanelJob) => void | Promise; onGpuJobViewLogs?: (job: McodaGpuJobOpsPanelJob) => void | Promise; onGpuJobViewArtifacts?: (job: McodaGpuJobOpsPanelJob) => void | Promise; onGpuJobRetry?: (job: McodaGpuJobOpsPanelJob) => void | Promise; onGpuJobCancel?: (job: McodaGpuJobOpsPanelJob) => void | Promise; } export interface McodaAgentSetupLabels { saveKey: string; syncAgents: string; saveAssignments: string; local: string; cloud: string; selfHosted: string; workers: string; } export interface McodaAgentSetupComponentOverrides { AgentCatalogSummary: typeof AgentCatalogSummary; MswarmAccessCard: typeof MswarmAccessCard; GpuJobOpsPanel: typeof GpuJobOpsPanel; StageAgentAssignments: typeof StageAgentAssignments; AgentSourceSelect: typeof AgentSourceSelect; SelfHostedServerSelect: typeof SelfHostedServerSelect; AgentSearchSelect: typeof AgentSearchSelect; } type AgentAssignmentSource = "local" | "cloud" | "self_hosted" | "worker"; export declare function McodaAgentSetupPage(props: McodaAgentSetupPageProps): React.ReactElement; export interface GpuJobOpsPanelProps { ops: McodaGpuJobOpsPanelData; busy?: boolean; onRefresh?: () => void | Promise; onViewDetails?: (job: McodaGpuJobOpsPanelJob) => void | Promise; onViewLogs?: (job: McodaGpuJobOpsPanelJob) => void | Promise; onViewArtifacts?: (job: McodaGpuJobOpsPanelJob) => void | Promise; onRetry?: (job: McodaGpuJobOpsPanelJob) => void | Promise; onCancel?: (job: McodaGpuJobOpsPanelJob) => void | Promise; } export declare function GpuJobOpsPanel(props: GpuJobOpsPanelProps): React.ReactElement; export declare function AgentCatalogSummary(props: { snapshot: McodaAgentSetupSnapshot; }): React.ReactElement; export declare function MswarmAccessCard(props: { apiKey: string; busy?: boolean; labels?: Partial; snapshot?: McodaAgentSetupSnapshot | null; onApiKeyChange: (value: string) => void; onSaveKey: () => void; onSyncAgents: () => void; }): React.ReactElement; export declare function StageAgentAssignments(props: { stages: McodaStageDefinition[]; snapshot: McodaAgentSetupSnapshot; assignments: Record; labels?: Partial; busy?: boolean; onAssignmentChange: (stageKey: string, slug: string | null) => void; onSaveAssignments: () => void; }): React.ReactElement; export declare function AgentSourceSelect(props: { value: AgentAssignmentSource; labels?: Partial; onChange: (value: AgentAssignmentSource) => void; }): React.ReactElement; export declare function SelfHostedServerSelect(props: { servers: McodaSelfHostedServer[]; value: string; onChange: (value: string) => void; }): React.ReactElement; export declare function AgentSearchSelect(props: { agents: McodaAgentCatalogEntry[]; value: string; onChange: (value: string) => void; rowHeight?: number; viewportHeight?: number; }): React.ReactElement; export { createMcodaAgentSetupClient } from "../client.js"; export { defaultMcodaStageDefinitions } from "../defaultStages.js"; export type * from "../types.js"; //# sourceMappingURL=index.d.ts.map