/**
 * Trigger Registry
 *
 * CRUD operations for triggers with persistence to ~/.codebuddy/triggers.json.
 * Includes predefined trigger templates.
 */
import { EventTriggerManager, type Trigger, type TriggerType, type TriggerAction } from './event-trigger.js';
export declare const TRIGGER_TEMPLATES: Record<string, Omit<Trigger, 'id' | 'createdAt' | 'fireCount'>>;
export declare class TriggerRegistry {
    private triggerManager;
    constructor(triggerManager: EventTriggerManager);
    /**
     * Load triggers from disk
     */
    load(): Promise<void>;
    /**
     * Save triggers to disk
     */
    save(): Promise<void>;
    /**
     * Create a new trigger
     */
    create(params: {
        name: string;
        type: TriggerType;
        condition: string;
        action: TriggerAction;
        cooldownMs?: number;
    }): Promise<Trigger>;
    /**
     * Create from template
     */
    createFromTemplate(templateId: string): Promise<Trigger | null>;
    /**
     * Delete a trigger
     */
    delete(id: string): Promise<boolean>;
    /**
     * List templates
     */
    listTemplates(): string[];
}
