import { ComponentFixture } from '@angular/core/testing'; import { DebugElement, NgModule } from '@angular/core'; import { FormlyFieldConfig, ConfigOption } from '@ngx-formly/core'; interface IComponentOptions extends NgModule { template?: string; inputs?: T; config?: ConfigOption; detectChanges?: boolean; } interface IFormlyDebugElement extends DebugElement { readonly nativeElement: E; } export declare function createComponent({ template, inputs, config, detectChanges, imports, declarations, providers, }: IComponentOptions): T & { fixture: ComponentFixture; detectChanges: (checkNoChanges?: boolean) => void; setInputs: (inputs: Partial) => void; query: (selector: string) => IFormlyDebugElement; queryAll: (selector: string) => IFormlyDebugElement[]; }; export declare function createFieldComponent(field: FormlyFieldConfig, config?: IComponentOptions<{ field: FormlyFieldConfig; }>): { field: FormlyFieldConfig; } & { fixture: ComponentFixture<{ field: FormlyFieldConfig; }>; detectChanges: (checkNoChanges?: boolean) => void; setInputs: (inputs: Partial<{ field: FormlyFieldConfig; }>) => void; query: (selector: string) => IFormlyDebugElement; queryAll: (selector: string) => IFormlyDebugElement[]; }; export {};