import { Component, ComponentAPI } from '../../components'; import { DecoratorComponentInjection, DecoratorInjection, DecoratorSubscription, DecoratorSymbolInjection } from './interfaces'; /** * Utility class for handling decorators on components */ export declare class DecoratorConsumer { /** * Returns all decorator subscriptions of a component * * @param component The component that should be checked * * @returns Array of DecoratorSubscriptions */ static getSubscriptions(component: Component): Array; /** * Handles all decorator subscriptions of a component * * @param component The component that should be handled * @param api The components API instance */ static handleSubscriptions(component: Component, api: ComponentAPI): void; /** * Returns all decorator injections of a component * * @param component The component that should be checked * * @returns Array of DecoratorInjections */ static getInjections(component: Component): Array; static getSymbolInjections(component: Component): Array; static getComponentInjections(component: Component): Array; /** * Handles all decorator injections of a component * * @param component The component that should be handled * @param api The components API instance */ static handleInjections(component: Component, api: ComponentAPI): void; /** * Handles all decorator variables of a component * * @param component The component that should be handled * @param api The components API instance */ static handleVariables(component: Component, api: ComponentAPI): void; static getDecoratorParent(component: Component): Function; }