import type { HookEvent } from '../hooks/types.js';
import type { TriggerDefinition } from '../tools/workflow/index.js';
export interface TriggerManagerLike {
    list(): TriggerDefinition[];
}
/**
 * Result of a single trigger evaluation.
 */
export interface TriggerFireResult {
    triggerId: string;
    event: string;
    action: string;
    executed: boolean;
    error?: string;
    pid?: number;
}
/**
 * Evaluate all enabled triggers against a fired hook event.
 * Matching triggers have their action executed via Bun.spawn.
 */
export declare function fireTriggers(event: HookEvent, triggerManager: TriggerManagerLike): Promise<TriggerFireResult[]>;
//# sourceMappingURL=trigger-executor.d.ts.map