import type { MiddlewareHandler } from "hono"; import { type DbSource, type VoyantAuthIntegration, type VoyantBindings, type VoyantVariables } from "../types.js"; export declare function requirePermission(dbSource: DbSource, resource: string, action: string, opts?: { auth?: VoyantAuthIntegration; }): MiddlewareHandler<{ Bindings: TBindings; Variables: VoyantVariables; }>;