import { DebugElement, Type } from '@angular/core'; import { ComponentFixture } from '@angular/core/testing'; import { DOMSelector } from '../dom-selectors'; import { Token } from '../token'; import { DomSpectator } from '../base/dom-spectator'; import { SpyObject } from '../mock'; import { HostComponent } from './host-component'; /** * @publicApi */ export declare class SpectatorHost extends DomSpectator { hostComponent: H; hostDebugElement: DebugElement; hostElement: Element; hostFixture: ComponentFixture; debugElement: DebugElement; element: HTMLElement; constructor(hostComponent: H, hostDebugElement: DebugElement, hostElement: Element, hostFixture: ComponentFixture, debugElement: DebugElement, componentInstance: C, element: HTMLElement); get component(): C; inject(token: Token, fromComponentInjector?: boolean): SpyObject; detectComponentChanges(): void; queryHost(selector: string | DOMSelector, options?: { root: boolean; }): R | null; queryHost(directive: Type): R | null; queryHost(directiveOrSelector: Type | string, options: { read: Token; }): R | null; queryHostAll(selector: string | DOMSelector, options?: { root: boolean; }): R[]; queryHostAll(directive: Type): R[]; queryHostAll(directiveOrSelector: Type | string, options: { read: Token; }): R[]; setHostInput(input: H extends HostComponent ? any : Partial): void; setHostInput(input: H extends HostComponent ? any : K, inputValue: H extends HostComponent ? any : H[K]): void; }