/**
* AgentButton - Quick Action Button Component
*
* A button component that executes an agent task with built-in loading state
* and result display. Provides a simple way to trigger automation tasks.
*
* Requirements: 1.1
*/
import React from 'react';
import { ViewStyle, TextStyle } from 'react-native';
import { AgentConfig } from '../types';
export interface AgentButtonProps {
/** Task to execute when button is pressed */
task: string;
/** Button label (defaults to task) */
label?: string;
/** Agent configuration (optional, uses context if available) */
config?: AgentConfig;
/** Maximum steps for this task (optional) */
maxSteps?: number;
/** Callback when task completes */
onComplete?: (success: boolean, message: string) => void;
/** Custom button style */
style?: ViewStyle;
/** Custom text style */
textStyle?: TextStyle;
/** Disabled state */
disabled?: boolean;
}
/**
* Button component that executes an agent task with loading and result display
*
* @example
* ```tsx
* // With AgentProvider
*
*
* // With inline config
* console.log(message)}
* />
* ```
*/
export declare function AgentButton({ task, label, config: propsConfig, maxSteps, onComplete, style, textStyle, disabled, }: AgentButtonProps): React.ReactElement;
//# sourceMappingURL=AgentButton.d.ts.map