/**
 * Admin API routes for ops-grade maintenance operations that don't fit
 * cleanly under a single resource namespace:
 *
 *   POST /api/v1/admin/queue/clear             — TRUNCATE dispatch_queue
 *   POST /api/v1/admin/execution/purge-stale   — DELETE execution runs + jobs
 *   POST /api/v1/admin/sources/purge-stale     — DELETE orphan sources + scoped secrets
 *   POST /api/v1/admin/secrets/purge           — DELETE scoped_secrets (bulk)
 *
 * Each endpoint accepts a minimal JSON body for scoping (e.g. routing key,
 * org ID) and supports a "dry run" mode where applicable. All mutations are
 * gated by the admin auth middleware in admin.ts, so unauthenticated access
 * is impossible.
 */
import { Hono } from 'hono';
import type { Kysely } from 'kysely';
import type { Role } from '../secrets/rbac.js';
interface MaintenanceRouteDeps {
    db: Kysely<any>;
}
type AdminMaintenanceEnv = {
    Variables: {
        role: Role;
        userId: string;
        routingKey: string | null;
    };
};
export declare function createMaintenanceRoutes(deps: MaintenanceRouteDeps): Hono<AdminMaintenanceEnv>;
export {};
//# sourceMappingURL=admin-maintenance.d.ts.map