import { Type } from '@angular/core'; import { ComponentFixture } from '@angular/core/testing'; /** * Return a component's instance from within a ComponentFixture * * @param fixture - The component fixture * @param component - The component to find * @returns The instance of the found component * * @example * const myItem = getChildComponentInstanceFromFixture(myFixture, MyComponent); */ export declare function getChildComponentInstanceFromFixture(fixture: ComponentFixture, component: Type): ComponentType;