import { Entity } from '@nymphjs/nymph'; /** * A decorator that checks for an ability before running the method. * * If the logged in user does not have the given ability, the decorator will * cause the method to throw a 403 Forbidden HttpError. * * @param ability The ability to check for. */ export declare function requireAbility(ability: string): (target: (...args: any[]) => any, _context: ClassMethodDecoratorContext) => (this: Entity, ...args: unknown[]) => any;