import type { AgentExecution } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/api_pb";
/** Props for {@link WriteBacksWidget}. */
export interface WriteBacksWidgetProps {
    /**
     * All executions for the current session — both completed and
     * actively streaming.  The widget aggregates write-backs across
     * every execution, deduplicates by `workspace_entry_name` (latest
     * wins), and sorts alphabetically.
     *
     * Renders nothing when the list is empty or no execution has
     * write-backs.
     */
    readonly executions: readonly AgentExecution[];
    /** Additional CSS classes for the root element. */
    readonly className?: string;
}
/**
 * Right-sidebar widget that surfaces pull requests created by the
 * platform's incremental git write-back workflow.
 *
 * Write-backs from multiple executions are aggregated and
 * deduplicated by `workspace_entry_name` (latest execution wins),
 * presenting the user with a flat list of PRs — one per workspace
 * entry.
 *
 * Returns `null` when no execution has write-backs, matching the
 * conditional-render pattern of {@link ArtifactsWidget} and
 * {@link ExecutionProgress}.
 *
 * All visual properties flow through `--stgm-*` tokens.  Zero
 * Console dependencies.
 *
 * @example
 * ```tsx
 * const conv = useSessionConversation(sessionId, org);
 *
 * <WriteBacksWidget
 *   executions={[
 *     ...conv.completedExecutions,
 *     ...(conv.activeStreamExecution ? [conv.activeStreamExecution] : []),
 *   ]}
 * />
 * ```
 *
 * @see {@link WriteBackCard} — compact card per write-back
 * @see {@link useSessionWriteBacks} — headless session-level write-back aggregation hook
 * @see {@link useWorkspaceWriteBacks} — headless single-execution write-back extraction hook
 */
export declare function WriteBacksWidget({ executions, className, }: WriteBacksWidgetProps): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=WriteBacksWidget.d.ts.map