import { ManageAppVariables } from "../types/app.js";
import { ProjectPermissionLevel } from "@inkeep/agents-core";
import * as hono18 from "hono";

//#region src/middleware/projectAccess.d.ts
/**
 * Middleware to check project-level access.
 */
declare const requireProjectPermission: <Env$1 extends {
  Variables: ManageAppVariables;
} = {
  Variables: ManageAppVariables;
}>(permission?: ProjectPermissionLevel) => hono18.MiddlewareHandler<Env$1, string, {}, Response>;
//#endregion
export { requireProjectPermission };