import { DebugElement } from '@angular/core'; import { ComponentFixture } from '@angular/core/testing'; import { TsAccordionComponent, TsExpansionPanelComponent, TsExpansionPanelTriggerComponent } from '@terminus/ui/expansion-panel'; /** * Get an array of all DebugElements for TsExpansionPanelComponents * * @param fixture - The component fixture * @returns An array of DebugElements */ export declare const getAllPanelDebugElements: (fixture: ComponentFixture) => DebugElement[]; /** * Get an array of all TsExpansionPanelComponent instances * * @param fixture - The component fixture * @returns An array of TsExpansionPanelComponent */ export declare function getAllPanelInstances(fixture: ComponentFixture): TsExpansionPanelComponent[]; /** * Get the DebugElement for a TsExpansionPanelComponent * * @param fixture - The component fixture * @param index - The index of the desired TsExpansionPanelComponent * @returns The DebugElement */ export declare function getPanelDebugElement(fixture: ComponentFixture, index?: number): DebugElement; /** * Get the component instance for a TsExpansionPanelComponent * * @param fixture - The component fixture * @param index - The index of the desired TsExpansionPanelComponent * @returns The instance */ export declare function getPanelInstance(fixture: ComponentFixture, index?: number): TsExpansionPanelComponent; /** * Get the element for a TsExpansionPanelComponent * * @param fixture - The component fixture * @param index - The index of the desired TsExpansionPanelComponent * @returns The element */ export declare function getPanelElement(fixture: ComponentFixture, index?: number): HTMLElement; /** * Get the element for a TsExpansionPanelComponent * * @param fixture - The component fixture * @param index - The index of the desired TsExpansionPanelComponent * @returns The element */ export declare function getPanelBodyElement(fixture: ComponentFixture, index?: number): HTMLElement; /** * Get the element for a TsExpansionPanelComponent content container * * @param fixture - The component fixture * @param index - The index of the desired TsExpansionPanelComponent * @returns The element */ export declare function getPanelBodyContentElement(fixture: ComponentFixture, index?: number): HTMLElement; /** * Get an array of all DebugElements for TsAccordionComponents * * @param fixture - The component fixture * @returns An array of DebugElements */ export declare const getAllAccordionDebugElements: (fixture: ComponentFixture) => DebugElement[]; /** * Get an array of all TsAccordionComponent instances * * @param fixture - The component fixture * @returns An array of TsAccordionComponent */ export declare function getAllAccordionInstances(fixture: ComponentFixture): TsAccordionComponent[]; /** * Get the component instance for a TsAccordionComponent * * @param fixture - The component fixture * @param index - The index of the desired TsAccordionComponent * @returns The instance */ export declare function getAccordionInstance(fixture: ComponentFixture, index?: number): TsAccordionComponent; /** * Get the DebugElement for a TsAccordionComponent * * @param fixture - The component fixture * @param index - The index of the desired TsAccordionComponent * @returns The DebugElement */ export declare function getAccordionDebugElement(fixture: ComponentFixture, index?: number): DebugElement; /** * Get the element for a TsAccordionComponent * * @param fixture - The component fixture * @param index - The index of the desired TsAccordionComponent * @returns The element */ export declare function getAccordionElement(fixture: ComponentFixture, index?: number): HTMLElement; /** * Get the element for a TsExpansionPanelTriggerComponent * * @param fixture - The component fixture * @param panelIndex - The index of the desired TsExpansionPanelComponent * @returns The element */ export declare function getTriggerDebugElement(fixture: ComponentFixture, panelIndex?: number): DebugElement; /** * Get the instance for a TsExpansionPanelTriggerComponent * * @param fixture - The component fixture * @param panelIndex - The index of the desired TsExpansionPanelComponent * @returns The instance */ export declare function getTriggerInstance(fixture: ComponentFixture, panelIndex?: number): TsExpansionPanelTriggerComponent; /** * Get the element for a TsExpansionPanelTriggerComponent * * @param fixture - The component fixture * @param panelIndex - The index of the desired TsExpansionPanelComponent * @returns The element */ export declare function getTriggerElement(fixture: ComponentFixture, panelIndex?: number): HTMLElement; /** * Get the element for a TsExpansionPanelTriggerTitleComponent * * @param fixture - The component fixture * @param panelIndex - The index of the desired TsExpansionPanelComponent * @returns The element */ export declare function getTriggerTitleElement(fixture: ComponentFixture, panelIndex?: number): HTMLElement; /** * Get the element for a TsExpansionPanelTriggerDescriptionComponent * * @param fixture - The component fixture * @param panelIndex - The index of the desired TsExpansionPanelComponent * @returns The element */ export declare function getTriggerDescriptionElement(fixture: ComponentFixture, panelIndex?: number): HTMLElement; /** * Get the element for a TsExpansionPanelActionRowComponent * * @param fixture - The component fixture * @param index - The index of the desired TsExpansionPanelComponent * @returns The element */ export declare function getPanelActionRow(fixture: ComponentFixture, index?: number): HTMLElement; /** * Return the difference in time in words * * @param fixture - The component fixture * @param panelIndex - The index of the desired TsExpansionPanelComponent * @returns The whenStable promise */ export declare function togglePanel(fixture: ComponentFixture, panelIndex?: number): Promise;