import type { ResourceRef } from "@stigmer/sdk";
/** Props for {@link AgentPicker}. */
export interface AgentPickerProps {
    /** Organization slug used as the default search scope. */
    readonly org: string;
    /** Currently selected agent reference, or null if none selected. */
    readonly value: ResourceRef | null;
    /** Called when the selection changes. Pass null to deselect. */
    readonly onChange: (ref: ResourceRef | null) => void;
    /** Called with the display name when an agent is selected (for chip rendering). */
    readonly onDisplayNameResolved?: (key: string, name: string) => void;
    /**
     * Controls search scope.
     *
     * - `"org"` — search only within the provided organization.
     * - `"all"` — search all organizations the caller can access,
     *   including public/platform agents from other orgs.
     *
     * @default "org"
     */
    readonly scope?: "org" | "all";
    /** Prevents interaction with the picker when `true`. */
    readonly disabled?: boolean;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Single-select searchable picker for choosing an agent from the platform.
 *
 * Renders a search input and scrollable list of available agents.
 * Designed to be placed inside a popover container — this component
 * renders the picker content, not the popover shell.
 *
 * Unlike the multi-select {@link SkillPicker} and McpServerPicker,
 * this picker enforces single selection: clicking a result replaces
 * the current selection. A session runs against exactly one agent.
 *
 * This is a Layer 1 building-block component used by both platform
 * builders (Profile A) and direct Stigmer users (Profile B). Platform
 * builders can use it standalone with their own popover or inline layout.
 * The Stigmer Console places it inside a `ContextPopover` within the
 * {@link SessionComposer}.
 *
 * All visual properties flow through `--stgm-*` tokens.
 *
 * @example
 * ```tsx
 * // Platform builder: standalone agent picker
 * const [agent, setAgent] = useState<ResourceRef | null>(null);
 * <AgentPicker org="acme" value={agent} onChange={setAgent} />
 *
 * // Access the selected agent
 * if (agent) console.log(`Selected: ${agent.org}/${agent.slug}`);
 * ```
 */
export declare function AgentPicker({ org, value, onChange, onDisplayNameResolved, scope, disabled, className, }: AgentPickerProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=AgentPicker.d.ts.map