import { ManageAppVariables } from "../types/app.js";
import * as hono1 from "hono";

//#region src/middleware/requireEntitlement.d.ts
type EntitlementConfig = {
  resourceType: string;
  countFn: (tenantId: string) => Promise<number>;
  label?: string;
};
declare const requireEntitlement: <Env$1 extends {
  Variables: ManageAppVariables;
} = {
  Variables: ManageAppVariables;
}>(config: EntitlementConfig) => hono1.MiddlewareHandler<Env$1, string, {}, Response>;
//#endregion
export { requireEntitlement };