import type { HookDefinition, HookEventPayload, HookEventPayloadSpecCreated, HookEventPayloadStatusChange, HookEventPayloadDriftDetected, HookEventPayloadCommit } from '../../types/index.js';
/**
 * Build the payload for on_spec_created events.
 */
export declare function buildSpecCreatedPayload(projectId: string, specId: string, specTitle: string, specType: string): HookEventPayloadSpecCreated;
/**
 * Build the payload for on_spec_status_change events.
 */
export declare function buildStatusChangePayload(projectId: string, specId: string, specTitle: string, fromStatus: string, toStatus: string): HookEventPayloadStatusChange;
/**
 * Build the payload for on_drift_detected events.
 */
export declare function buildDriftDetectedPayload(projectId: string, specId: string, driftScore: number, driftSummary: string): HookEventPayloadDriftDetected;
/**
 * Build the payload for on_commit events.
 */
export declare function buildCommitPayload(projectId: string, commitHash: string, commitMessage: string, branch: string): HookEventPayloadCommit;
/**
 * Check whether a hook's filter conditions are satisfied by the given payload.
 * Returns true when the hook should fire (no filter = always fires).
 */
export declare function matchesFilter(hook: HookDefinition, payload: HookEventPayload): boolean;
/**
 * Simple glob matching: supports * wildcard (matches any character sequence).
 */
export declare function matchesGlob(value: string, pattern: string): boolean;
//# sourceMappingURL=triggers.d.ts.map