import { Env, Input, MiddlewareHandler } from "hono";

//#region src/middleware/authz-meta.d.ts
type AuthzMeta = {
  resource?: string;
  permission?: string;
  description: string;
};
type ProjectScopedMiddleware<Env$1 extends Env = Env, Path extends string = string, Input$1 extends Input = Input> = MiddlewareHandler<Env$1, Path, Input$1> & {
  readonly __projectScoped: true;
};
declare function getAuthzMeta(mw: unknown): AuthzMeta | undefined;
declare function registerAuthzMeta(mw: object, meta: AuthzMeta): void;
//#endregion
export { AuthzMeta, ProjectScopedMiddleware, getAuthzMeta, registerAuthzMeta };