import { default as React } from 'react'; export type CommandParamType = "int" | "uint" | "float" | "string" | "boolean" | "enum" | "hex" | "block"; export interface CommandParameter { /** Parameter name */ name: string; /** Parameter type */ type: CommandParamType; /** Description */ description?: string; /** Default value */ default?: unknown; /** Whether parameter is required (default: true) */ required?: boolean; /** Minimum value (for numeric types) */ min?: number; /** Maximum value (for numeric types) */ max?: number; /** Bit size */ bitSize?: number; /** Enum options (for enum type) */ options?: (string | number)[]; /** Units label */ units?: string; /** Validation regex pattern (for string type) */ pattern?: string; /** Whether this is a hazardous parameter */ hazardous?: boolean; /** Hazardous description */ hazardousDescription?: string; } export interface CommandHistoryEntry { id: string; timestamp: Date; target: string; command: string; parameters: Record; status: "sent" | "success" | "error"; error?: string; } export interface CommandBuilderProps { /** Target name */ target: string; /** Command name */ command: string; /** Command description */ description?: string; /** Whether this is a hazardous command */ hazardous?: boolean; /** Hazardous warning text */ hazardousDescription?: string; /** Command parameters */ parameters: CommandParameter[]; /** Called when command is sent */ onSend: (params: Record) => void | Promise; /** Command history entries */ history?: CommandHistoryEntry[]; /** Show command history (default: true) */ showHistory?: boolean; /** Show raw command preview (default: true) */ showPreview?: boolean; /** Whether send is disabled */ disabled?: boolean; /** Height (default: auto) */ height?: number | string; /** CSS class */ className?: string; /** Show outer container border (default: true). Set false when embedded inside a Container/card. */ bordered?: boolean; /** Custom style overrides for the outer container */ style?: React.CSSProperties; } export declare const CommandBuilder: React.NamedExoticComponent; export default CommandBuilder;