import type { ApprovalAction } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/enum_pb";
/** Props for {@link WorkflowExecutionApprovalCard}. */
export interface WorkflowExecutionApprovalCardProps {
    /** The prompt message explaining what needs approval. */
    readonly prompt: string;
    /** Tool call ID for the approval request. */
    readonly toolCallId: string;
    /** List of users/roles that can approve. */
    readonly approvers: readonly string[];
    /** Timeout in seconds (0 = no timeout). */
    readonly timeoutSeconds: number;
    /** Callback to submit the approval decision. */
    readonly onSubmitApproval: (toolCallId: string, action: ApprovalAction, comment?: string) => Promise<unknown>;
    /** `true` while this gate's submission is in flight. */
    readonly isSubmitting: boolean;
    /**
     * This gate's last failed decision, or `null`. Surfaced in-card beside the
     * actions (via the shared {@link InCardDecisionError}) — supply
     * {@link useWorkflowExecutionActions}'s `approvalErrorsByToolCallId` for this
     * `toolCallId`.
     */
    readonly error?: Error | null;
    /** Additional CSS class names. */
    readonly className?: string;
}
/**
 * Inline approval card rendered within the execution timeline when
 * a `human_input` task or agent tool approval gate is active.
 *
 * Provides approve and reject buttons with an optional comment field.
 * Keyboard-navigable and accessible.
 */
export declare const WorkflowExecutionApprovalCard: import("react").NamedExoticComponent<WorkflowExecutionApprovalCardProps>;
//# sourceMappingURL=WorkflowExecutionApprovalCard.d.ts.map