import type { HookEvent } from '../../types.js';
import type { HookEventStore } from './hook-event-store.js';
export interface HookPayload {
    eventName: string;
    body: unknown;
    sessionId: string;
}
export interface HookResponse {
    status: number;
    body?: unknown;
    storedEvent?: HookEvent;
}
export type HookHandler = (payload: HookPayload) => Promise<HookResponse>;
export declare class HookEventRouter {
    private store;
    private projectRoot;
    private handlers;
    private logPath;
    constructor(store: HookEventStore, projectRoot: string);
    register(eventName: string, handler: HookHandler): void;
    handle(eventName: string, body: unknown): Promise<HookResponse>;
    private appendLog;
}
//# sourceMappingURL=hook-event-router.d.ts.map