import { Type } from '@angular/core';
import { LayoutComponentMetadata } from '@anglr/dynamic/layout';
import { Func1 } from '@jscrpt/common';
/**
 * Defines function for dynamic component which is used for obtaining its descendants
 * @param descendantsGetterFn - Function used for obtaining descendants of dynamic component
 */
export declare function DescendantsGetter<TOptions = unknown>(descendantsGetterFn: Func1<LayoutComponentMetadata[], TOptions | undefined | null>): ClassDecorator;
/**
 * Gets descendants getter if is set
 * @param type - Type which could contains descendants getter
 */
export declare function getDescendantsGetter<TOptions = unknown>(type: Type<unknown>): Func1<LayoutComponentMetadata[], TOptions | undefined | null> | undefined | null;
//# sourceMappingURL=descendantsGetter.decorator.d.ts.map