import { DebugElement } from '@angular/core'; import { ComponentFixture } from '@angular/core/testing'; import { TsAutocompleteComponent } from '@terminus/ui/autocomplete'; import { TsChipComponent } from '@terminus/ui/chip'; import { TsOptgroupComponent, TsOptionComponent } from '@terminus/ui/option'; /** * Get the DebugElement for a TsAutocompleteComponent * * @param fixture - The component fixture * @param index - The index of the desired TsAutocompleteComponent * @returns The DebugElement */ export declare function getAutocompleteDebugElement(fixture: ComponentFixture, index?: number): DebugElement; /** * Get the autocomplete input element for a TsAutocompleteComponent * * @param fixture - The component fixture * @param index - The index of the desired TsAutocompleteComponent * @returns The input element * */ export declare function getAutocompleteInput(fixture: ComponentFixture, index?: number): HTMLInputElement; /** * Get an array of all DebugElements for TsAutocompleteComponent * * @param fixture - The component fixture * @returns An array of DebugElements */ export declare function getAllAutocompleteDebugElements(fixture: ComponentFixture): DebugElement[]; /** * Get an array of all component instances for TsAutocompleteComponent * * @param fixture - The component fixture * @returns An array of TsAutocompleteComponent */ export declare const getAllAutocompleteInstances: (fixture: ComponentFixture) => TsAutocompleteComponent[]; /** * Get a component instances for TsAutocompleteComponent * * @param fixture - The component fixture * @param index - The index of the desired TsAutocompleteComponent * @returns The instance */ export declare function getAutocompleteInstance(fixture: ComponentFixture, index?: number): TsAutocompleteComponent; /** * Get the element for a TsSelectComponent * * @param fixture - The component fixture * @param index - The index of the desired TsSelectComponent * @returns The element */ export declare function getAutocompleteElement(fixture: ComponentFixture, index?: number): HTMLElement; /** * Get an array of all chip instances for a TsSelectComponent * * @param fixture - The component fixture * @param index - The index of the desired TsSelectComponent * @returns An array of chip instances */ export declare function getAllChipInstances(fixture: ComponentFixture, index?: number): TsChipComponent[]; /** * Get a specific chip instance for a TsSelectComponent * * @param fixture - The component fixture * @param selectIndex - The index of the desired TsSelectComponent * @param chipIndex - The index of the desired chip * @returns A chip instances */ export declare function getChipInstance(fixture: ComponentFixture, selectIndex?: number, chipIndex?: number): TsChipComponent; /** * Get the element for a specific chip instance for a TsSelectComponent * * @param fixture - The component fixture * @param selectIndex - The index of the desired TsSelectComponent * @param chipIndex - The index of the desired chip * @returns The chip element */ export declare function getChipElement(fixture: ComponentFixture, selectIndex?: number, chipIndex?: number): HTMLElement; /** * Get the display value for a specific chip instance for a TsSelectComponent * * @param fixture - The component fixture * @param selectIndex - The index of the desired TsSelectComponent * @param chipIndex - The index of the desired chip * @returns The chip element */ export declare function getChipElementDisplayValue(fixture: ComponentFixture, selectIndex?: number, chipIndex?: number): string | null; /** * Get the trigger element for a TsAutocompleteComponent * * @param fixture - The component fixture * @param index - The index of the desired TsAutocompleteComponent * @returns The element */ export declare function getAutocompleteTriggerElement(fixture: ComponentFixture, index?: number): HTMLElement; /** * Get all TsOptionComponent instances for a TsSelectComponent * * @param fixture - The component fixture * @param index - The index of the desired TsSelectComponent * @returns An array of TsOptionComponent */ export declare function getAllOptionInstances(fixture: ComponentFixture, index?: number): TsOptionComponent[]; /** * Get a specific TsOptionComponent instance for a TsSelectComponent * * @param fixture - The component fixture * @param selectIndex - The index of the desired TsSelectComponent * @param optionIndex - The index of the desired TsOptionComponent * @returns A TsOptionComponent */ export declare function getOptionInstance(fixture: ComponentFixture, selectIndex?: number, optionIndex?: number): TsOptionComponent; /** * Get the element of a TsOptionComponent instance for a TsSelectComponent * * @param fixture - The component fixture * @param selectIndex - The index of the desired TsSelectComponent * @param optionIndex - The index of the desired TsOptionComponent * @returns The TsOptionComponent element */ export declare function getOptionElement(fixture: ComponentFixture, selectIndex?: number, optionIndex?: number): HTMLElement; /** * Get an array of all TsOptgroupComponents * * @param fixture - The component fixture * @param index - The index of the desired TsSelectComponent * @returns An array of TsOptionComponent */ export declare function getAllOptgroups(fixture: ComponentFixture, index?: number): TsOptgroupComponent[]; /** * Get a specific TsOptgroupComponent * * @param fixture - The component fixture * @param selectIndex - The index of the desired TsSelectComponent * @param groupIndex - The index of the desired TsOptgroupComponent * @returns A TsOptgroupComponent */ export declare function getOptgroup(fixture: ComponentFixture, selectIndex?: number, groupIndex?: number): TsOptgroupComponent; /** * Get the element for a TsOptgroupComponent * * @param fixture - The component fixture * @param selectIndex - The index of the desired TsSelectComponent * @param groupIndex - The index of the desired TsOptgroupComponent * @returns The optgroup element */ export declare function getOptgroupElement(fixture: ComponentFixture, selectIndex?: number, groupIndex?: number): HTMLElement;