import { ComponentRef, DebugElement } from '@angular/core'; import { QueryOptions, QueryType } from '../types'; export declare function getChildren(debugElementRoot: DebugElement): (directiveOrSelector: QueryType, options?: QueryOptions) => R[]; /** * @internal * Set props on a component. This is used in `createComponent` and `createRoutingFactory` since we have direct access to the componentRef. */ export declare function setProps(componentRef: ComponentRef, key: K, value: V): T & { [KEY in K]: V; }; export declare function setProps(componentRef: ComponentRef, keyValues?: KV): T & KV; /** * @internal * Set props on a host component. This is used in `createHostFactory`, `createDirectiveFactory` and `createPipeFactory`. * As these factories contain a custom host component, we set properties on this host component rather than the tested component itself. * Setting props on the component that's being tested is not possible as we don't have access to its componentRef. */ export declare function setHostProps(componentRef: ComponentRef, key: K, value: V): T & { [KEY in K]: V; }; export declare function setHostProps(componentRef: ComponentRef, keyValues?: KV): T & KV;