import { Type } from '@angular/core'; import { SpecOverrides } from '../Spec/create-factory'; import { HostComponent } from './host-component'; import { SpecHostOptions } from './options'; import { SpecHost } from './spec-host'; /** * @publicApi */ export declare type SpecHostFactory = (template: string, overrides?: SpecHostOverrides) => SpecHost; /** * @publicApi */ export declare type PresetSpecHostFactory = (template?: string, overrides?: SpecHostOverrides) => SpecHost; /** * @publicApi */ export interface SpecHostOverrides extends SpecOverrides { hostProps?: HostComponent extends H ? HP : Partial; } /** * @publicApi */ export declare function createHostFactory(options: SpecHostOptions & { template: string; }): PresetSpecHostFactory; /** * @publicApi */ export declare function createHostFactory(typeOrOptions: Type | SpecHostOptions): SpecHostFactory;