import type { HookRegistry, HookPoint, HookContextMap } from "./hooks.js";
/** Minimal logger shape — avoids coupling fire-hook to a concrete logger type. */
export interface HookWarnLogger {
    warn(message: string): void;
}
/**
 * Fire a lifecycle hook fire-and-forget, but FAIL-LOUD on error.
 *
 * Hook handlers are non-blocking (their result is discarded), yet a thrown hook
 * must not vanish silently — that hid memory/recall/stop-hook failures for which
 * there was no other signal. On rejection we log a warning naming the hook point;
 * the main turn proceeds regardless.
 */
export declare function fireHook<P extends HookPoint>(hooks: HookRegistry | undefined, point: P, context: HookContextMap[P], log: HookWarnLogger): void;
