/** * AgentActionButton Component * * Button that triggers a human-requested agent action. * Shows loading state and handles errors. */ import React from 'react'; import type { RegisteredAgent } from '@pantheon-systems/css-client'; export interface AgentActionButtonProps { /** Agent to trigger */ agent: RegisteredAgent; /** Action to perform */ action: { intent: string; targetRegions: string[]; operationType?: string; }; /** Button variant */ variant?: 'primary' | 'secondary' | 'ghost'; /** Button size */ size?: 'sm' | 'md' | 'lg'; /** Children (button content) */ children: React.ReactNode; /** Custom className */ className?: string; /** Disabled state */ disabled?: boolean; /** Success callback */ onSuccess?: (checkpointId?: string) => void; /** Error callback */ onError?: (error: string) => void; } /** * Button that triggers a human-requested agent action. * Shows loading state and handles errors. */ export declare function AgentActionButton({ agent, action, variant, size, children, className, disabled, onSuccess, onError, }: AgentActionButtonProps): React.JSX.Element;