/**
 * Canonical list of resource kinds dispatched through the writer/detector
 * registry. Each name is the capability name on AgentConfig — except
 * "permissions", which maps to the legacy capability name "allowlist".
 *
 * NOTE: "rules" in this registry is the WRITER key for what ResourceSelection
 * calls "memory". The --rule/--rules CLI flag therefore maps to the "memory"
 * key in ResourceSelection, not to a key called "rules". The memory file is
 * composed from all layers (not a per-repo artifact), so it is always set to
 * 'all' rather than filtered by individual names.
 */
import type { CapabilityName } from '../../types.js';
export type ResourceKind = 'commands' | 'skills' | 'hooks' | 'rules' | 'mcp' | 'permissions' | 'subagents' | 'plugins' | 'workflows';
export declare const ALL_RESOURCE_KINDS: readonly ResourceKind[];
/** Map kind -> capability name on AgentConfig.capabilities. */
export declare function kindToCapability(kind: ResourceKind): CapabilityName;
