import type { BuilderAgentDefaults } from './types.js';
/**
 * Resolved picker visibility for the Agent Builder configure panel.
 *
 * One field per kind (tools / agents / workflows).
 * - `null` ⇒ unrestricted (show all registered entries).
 * - `string[]` ⇒ explicit allowlist (may be empty to show none).
 */
export interface ResolvedPickerVisibility {
    visibleTools: string[] | null;
    visibleAgents: string[] | null;
    visibleWorkflows: string[] | null;
    /** Non-fatal warnings (e.g. unknown IDs in any allowlist). */
    warnings: string[];
}
export interface ResolvePickerVisibilityInputs {
    /** The `agent` slice of `AgentBuilderOptions['configuration']`. */
    config: BuilderAgentDefaults | undefined;
    /** All tool IDs currently registered with the Mastra instance. */
    registeredToolIds: readonly string[];
    /** All agent IDs currently registered with the Mastra instance. */
    registeredAgentIds: readonly string[];
    /** All workflow IDs currently registered with the Mastra instance. */
    registeredWorkflowIds: readonly string[];
}
/**
 * Pure derivation of {@link ResolvedPickerVisibility} from admin config and
 * the registered tool/agent/workflow sets.
 *
 * Per kind:
 * - allowlist undefined ⇒ `null` (unrestricted), no warnings.
 * - allowlist provided ⇒ filter to known IDs; emit one warning per unknown ID.
 *
 * Stable order: each visible list preserves admin-provided order with unknowns
 * dropped. Duplicates are de-duplicated.
 */
export declare function resolvePickerVisibility({ config, registeredToolIds, registeredAgentIds, registeredWorkflowIds, }: ResolvePickerVisibilityInputs): ResolvedPickerVisibility;
//# sourceMappingURL=picker.d.ts.map