import type { HookEvent, HookResult, HookType } from './types.js';
export interface HookActivityRecord {
    readonly timestamp: number;
    readonly path: string;
    readonly specific: string;
    readonly pattern: string;
    readonly hookName: string;
    readonly hookType: HookType;
    readonly ok: boolean;
    readonly decision?: HookResult['decision'] | undefined;
    readonly error?: string | undefined;
    readonly durationMs: number;
    readonly async: boolean;
}
export declare class HookActivityTracker {
    private readonly records;
    record(event: HookEvent, params: {
        pattern: string;
        hookName?: string | undefined;
        hookType: HookType;
        result: HookResult;
        durationMs: number;
        async: boolean;
    }): void;
    listRecent(limit?: number): readonly HookActivityRecord[];
    clear(): void;
}
//# sourceMappingURL=activity.d.ts.map