import { ActionConfig, ResourceConfig } from '../resources/interfaces'; declare type ResourceOptions = Partial; declare type ActionOptions = Partial; export interface AllAuthZOptions { resource: ResourceOptions; action: ActionOptions; } declare type IDecoratedObject = T & { __authz__: Partial; }; export declare function decorate(target: any, options: Partial): IDecoratedObject; export declare function getDecorations(target: any): AllAuthZOptions; export interface IDecoratingObject { decorate(target: T, options: Partial): IDecoratedObject; } export {};