/**
 * Nexus Prime - Skill Card Registry
 *
 * Declarative skill format stored in Graph Knowledge Engine.
 * Supports evaluation and serialization without arbitrary `eval()`.
 *
 * Phase: 8E (Skill Cards)
 */
import { GraphMemoryEngine } from './graph-memory.js';
export interface SkillTriggerCondition {
    field: 'files_modified' | 'files_accessed' | 'task_keywords' | 'tool_count';
    operator: '>' | '<' | '==' | 'contains';
    value: string | number;
}
export interface SkillTrigger {
    conditions: SkillTriggerCondition[];
    logic: 'AND' | 'OR';
}
export interface SkillAction {
    tool: string;
    args: Record<string, string>;
}
export interface SkillCard {
    name: string;
    trigger: SkillTrigger;
    actions: SkillAction[];
    confidence: number;
    adoptions: number;
    origin: string;
}
/** Serialize a SkillCard to a simple YAML representation */
export declare function serializeSkillCardToYaml(card: SkillCard): string;
export declare class SkillCardRegistry {
    private graphEngine;
    constructor(graphEngine: GraphMemoryEngine);
    /**
     * Register a new SkillCard into the Graph Knowledge Engine
     */
    register(card: SkillCard): string;
    /**
     * Retrieve a SkillCard's YAML from the Graph Engine
     */
    getSkillYaml(name: string): string | null;
}
