import type { SecurityPermission } from "../../../../types/security.js"; import { Identity } from "../../../../features/security/IdentityContext/index.js"; export interface IAuthorizer { authorize(identity: Identity): Promise; } /** Retrieve permissions for an identity. */ export declare const Authorizer: import("@webiny/di").Abstraction; export declare namespace Authorizer { type Interface = IAuthorizer; }