import type { Trigger } from "shared";
import type { StoredEvent } from "./event-log.js";
/**
 * Buffer an event for a debounce-enabled trigger.
 *
 * Resets the debounce timer on each call. Sets a maxWait ceiling timer
 * on the first event if maxWaitMs is configured.
 */
export declare function enqueueEvent(agentAlias: string, trigger: Trigger, event: StoredEvent): void;
/**
 * Flush all pending batches. Called on graceful shutdown.
 */
export declare function shutdownDebounce(): void;
/**
 * Get the number of pending debounce batches (for diagnostics).
 */
export declare function pendingBatchCount(): number;
//# sourceMappingURL=trigger-debounce.d.ts.map