import { WorkflowExecutionVisibility } from "@stigmer/protos/ai/stigmer/agentic/workflowinstance/v1/spec_pb";
/** Props for {@link RunVisibilityControl}. */
export interface RunVisibilityControlProps {
    /** Id of the workflow instance whose run visibility is edited. */
    readonly instanceId: string;
    /** Current `execution_visibility` from the instance spec. */
    readonly executionVisibility: WorkflowExecutionVisibility;
    /** Called after a successful change so the host can refresh the instance. */
    readonly onChanged?: () => void;
}
/**
 * Segmented control for an instance's run (execution) visibility — a separate
 * axis from the instance's own visibility: an owner can keep the instance
 * private while letting the whole org observe its runs.
 *
 * Writes the `execution_visibility` spec field via the dedicated RPC, which
 * reconciles the dormant `workflow_instance#execution_viewer` FGA relation in
 * Cloud mode. `unspecified` is treated as private (the default).
 *
 * Only meaningful while the instance itself is private; an ORG/PUBLIC instance
 * already exposes its runs to org members by inheritance, so callers should
 * render this only in the private case.
 */
export declare function RunVisibilityControl({ instanceId, executionVisibility, onChanged, }: RunVisibilityControlProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=RunVisibilityControl.d.ts.map