import { MethodBeforeAdvice, AfterReturningAdvice } from '@malagu/core'; import { AccessDecisionManager, ResourceNameResolver, SecurityMetadataSource } from './access-protocol'; import { SecurityContext } from '../context'; export declare abstract class AbstractSecurityMethodAdivice { protected readonly accessDecisionManager: AccessDecisionManager; protected readonly securityMetadataSource: SecurityMetadataSource; protected readonly resourceNameResolver: ResourceNameResolver; protected readonly enabled: boolean; protected needAccessDecision(method: string | number | symbol): false | SecurityContext; } export declare class SecurityMethodBeforeAdivice extends AbstractSecurityMethodAdivice implements MethodBeforeAdvice { before(method: string | number | symbol, args: any[], target: any): Promise; } export declare class SecurityAfterReturningAdvice extends AbstractSecurityMethodAdivice implements AfterReturningAdvice { afterReturning(returnValue: any, method: string | number | symbol, args: any[], target: any): Promise; } //# sourceMappingURL=method-advice.d.ts.map