import type { DaemonRuntimeRouteContext } from './runtime-route-types.js'; /** * Guard helper: returns the admin-denied response if the caller lacks admin * privileges, otherwise calls `next()` and returns its result. * * Shared across all daemon runtime route files to avoid duplication. */ export declare function withAdmin(context: DaemonRuntimeRouteContext, req: Request, next: () => Response | Promise): Response | Promise; //# sourceMappingURL=auth-helpers.d.ts.map