/** A runtime-agnostic rule definition stored in the neutral registry. */
export type NeutralRule = {
    id: string;
    title: string;
    content: string;
    tags: string[];
    appliesTo: string[];
};
export type RuleTarget = 'claude' | 'cursor' | 'codex' | 'vscode' | 'windsurf';
export declare const REGISTRY_DIR = ".setup-agents/rules";
/**
 * Loads all neutral rules from the registry directory.
 * Each rule is a JSON file in `.setup-agents/rules/` with the NeutralRule shape.
 */
export declare function loadRegistry(cwd: string): NeutralRule[];
/** Returns all rules that apply to a given profile ID. */
export declare function getRulesForProfile(rules: NeutralRule[], profileId: string): NeutralRule[];
/** Renders a neutral rule into the target runtime's format. */
export declare function renderForTarget(rule: NeutralRule, target: RuleTarget): string;
/** Returns the file path where a rule should be written for the given target. */
export declare function getTargetPath(cwd: string, rule: NeutralRule, target: RuleTarget): string;
