import type { AuthManager } from "@getstrata/core/auth/guard"; import type { Policy, PolicyGate } from "@getstrata/core/auth/policy"; import type { Middleware } from "./middleware"; declare function createAuthorizeMiddleware(gate: PolicyGate, auth: AuthManager, resource: string, action: keyof Policy): Middleware; export { createAuthorizeMiddleware };