/**
 * Admin API routes for the inbound webhook delivery log (event_log table).
 *
 * Operator-facing read access to the per-delivery records the orchestrator
 * persists for every inbound webhook. Mirrors the dashboard's WS handler
 * (`DashboardHandler.handleEventLogList/Detail`) but is exposed over HTTP +
 * Bearer auth so operators can dogfood from the CLI without going through
 * the dashboard.
 *
 *   GET /api/v1/admin/event-log
 *     Filters: orgId, routingKey, event, status, from, to, deliveryId, limit, offset
 *     Requires: event_log.read
 *
 *   GET /api/v1/admin/event-log/:deliveryId
 *     Query: orgId (required), includePayload (default false)
 *     Requires: event_log.read
 *     The `includePayload` flag additionally requires event_log.read_payload.
 */
import { Hono } from 'hono';
import { type ColdStore } from '@kici-dev/shared';
import type { Kysely } from 'kysely';
import type { Database } from '../db/types.js';
import type { TokenManager } from '../secrets/token-manager.js';
import type { RbacEnforcer, Role } from '../secrets/rbac.js';
import type { LogStorage } from '../reporting/log-storage.js';
export interface AdminEventLogRoutesDeps {
    db: Kysely<Database>;
    logStorage: LogStorage;
    tokenManager: TokenManager;
    rbac: RbacEnforcer;
    /** Phase E: optional cold-store for archived event_log rows. */
    coldStore?: ColdStore;
}
type AdminEnv = {
    Variables: {
        role: Role;
        userId: string;
        routingKey: string | null;
    };
};
export declare function createAdminEventLogRoutes(deps: AdminEventLogRoutesDeps): Hono<AdminEnv>;
export {};
//# sourceMappingURL=admin-event-log.d.ts.map