import { DebugElement } from '@angular/core'; import { ComponentFixture } from '@angular/core/testing'; import { TsChipCollectionComponent, TsChipComponent } from '@terminus/ui/chip'; /** * Get an array of all DebugElements for {@link TsChipCollectionComponent}s * * @param fixture - The component fixture * @returns An array of DebugElements */ export declare const getAllChipCollectionDebugElements: (fixture: ComponentFixture) => DebugElement[]; /** * Get the component instance for a {@link TsChipCollectionComponent} * * @param fixture - The component fixture * @param index - The index of the desired {@link TsChipCollectionComponent} * @returns The instance */ export declare function getChipCollectionInstance(fixture: ComponentFixture, index?: number): TsChipCollectionComponent; /** * Get the element for a {@link TsChipCollectionComponent} * * @param fixture - The component fixture * @param index - The index of the desired {@link TsChipCollectionComponent} * @returns The element */ export declare function getChipCollectionElement(fixture: ComponentFixture, index?: number): HTMLElement; /** * Get an array of all chip instances for a {@link TsChipCollectionComponent} * * @param fixture - The component fixture * @param index - The index of the desired {@link TsChipCollectionComponent} * @returns An array of chip instances */ export declare function getAllChipInstances(fixture: ComponentFixture, index?: number): TsChipComponent[]; /** * Get a specific chip instance for a {@link TsChipCollectionComponent} * * @param fixture - The component fixture * @param collectionIndex - The index of the desired {@link TsChipCollectionComponent * @param chipIndex - The index of the desired chip * @returns A chip instance */ export declare function getChipInstance(fixture: ComponentFixture, collectionIndex?: number, chipIndex?: number): TsChipComponent; /** * Get an array of all {@link TsChipCollectionComponent} instances * * @param fixture - The component fixture * @returns An array of {@link TsChipCollectionComponent} */ export declare function getAllChipCollectionInstances(fixture: ComponentFixture): TsChipCollectionComponent[]; /** * Get chip collection instance when lives inside an autocomplete component * * @param fixture - The component fixture * @returns a chip collection instance */ export declare function getChipCollectionInstanceInAutocomplete(fixture: ComponentFixture): TsChipCollectionComponent; /** * Get an array of all DebugElements for {@link TsChipComponent}s * * @param fixture - The component fixture * @returns An array of DebugElements */ export declare const getAllChipDebugElements: (fixture: ComponentFixture) => DebugElement[]; /** * Get the DebugElement for a {@link TsChipComponent} * * @param fixture - The component fixture * @param index - The index of the desired {@link TsChipComponent} * @returns The DebugElement */ export declare function getChipDebugElement(fixture: ComponentFixture, index?: number): DebugElement; /** * Get the DebugElement for a {@link TsChipCollectionComponent} * * @param fixture - The component fixture * @param index - The index of the desired {@link TsChipCollectionComponent} * @returns The DebugElement */ export declare function getChipCollectionDebugElement(fixture: ComponentFixture, index?: number): DebugElement; /** * Get the element for a {@link TsChipComponent} * * @param fixture - The component fixture * @param index - The index of the desired {@link TsChipComponent} * @returns The element */ export declare function getChipElement(fixture: ComponentFixture, index?: number): HTMLElement; /** * Get the element for the button that removes a chip * * @param chip - The chip component * @returns The element */ export declare function getChipRemoveButton(chip: TsChipComponent): HTMLElement;