import type { Runner } from "@stigmer/protos/ai/stigmer/agentic/runner/v1/api_pb";
/** Props for {@link RunnerListPanel}. */
export interface RunnerListPanelProps {
    /** Organization slug to scope the runner list. */
    readonly org: string;
    /**
     * Include system-managed (ephemeral cloud) runners in the list.
     *
     * System-managed runners are auto-provisioned for cloud executions
     * and labeled `stigmer.ai/system-managed: "true"`. They are excluded
     * by default so user-facing views only show user-created runners.
     * Pass `true` in admin views that need full fleet visibility.
     *
     * @default false
     */
    readonly includeSystemManaged?: boolean;
    /** Expose refetch so parent components can trigger a list refresh. */
    readonly onRefetchRef?: (refetch: () => void) => void;
    /**
     * Notification callback fired after a runner is successfully stopped.
     * Receives the updated runner resource with its new phase.
     */
    readonly onStopped?: (runner: Runner) => void;
    /**
     * Notification callback fired after a runner is successfully deleted.
     * Receives the deleted runner resource for confirmation display.
     */
    readonly onDeleted?: (runner: Runner) => void;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Panel that displays runners in an organization with lifecycle
 * management actions.
 *
 * Each runner is rendered as a card row showing name, phase indicator,
 * machine information, and operational metadata. Non-system-managed
 * runners include an action menu for stop and delete operations with
 * inline confirmation — no modals or portals.
 *
 * Rows are sorted by phase (active runners first) then alphabetically
 * by name. System-managed runners (when included) display a "System"
 * badge and have no action affordances.
 *
 * By default only user-created runners are shown. Pass
 * `includeSystemManaged={true}` for admin views that need full fleet
 * visibility.
 *
 * Designed for the Settings > Runners page but embeddable in any
 * context that needs runner fleet management. Fetches data via
 * {@link useRunnerList} and performs mutations via {@link useStopRunner}
 * and {@link useDeleteRunner} — no Console-specific dependencies.
 *
 * All visual properties flow through `--stgm-*` design tokens.
 *
 * @example
 * ```tsx
 * <RunnerListPanel org="acme" />
 *
 * <RunnerListPanel
 *   org="acme"
 *   includeSystemManaged
 *   onStopped={(runner) => toast(`${runner.metadata?.name} stopped`)}
 *   onDeleted={(runner) => toast(`${runner.metadata?.name} deleted`)}
 *   onRefetchRef={(refetch) => { refetchRef.current = refetch; }}
 * />
 * ```
 */
export declare function RunnerListPanel({ org, includeSystemManaged, onRefetchRef, onStopped, onDeleted, className, }: RunnerListPanelProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=RunnerListPanel.d.ts.map