import { DebugElement } from '@angular/core'; import { ComponentFixture } from '@angular/core/testing'; import { FormGroup } from '@angular/forms'; import { TsDateRangeComponent } from '@terminus/ui/date-range'; import { TsInputComponent } from '@terminus/ui/input'; /** * Get an array of all TsDateRangeComponent debug elements * * @param fixture - The component fixture * @returns The array of DebugElements */ export declare function getAllDateRangeDebugElements(fixture: ComponentFixture): DebugElement[]; /** * Get all TsDateRangeComponent instances * * @param fixture - The component fixture * @returns The array of TsDateRangeComponent instances */ export declare const getAllDateRangeInstances: (fixture: ComponentFixture) => TsDateRangeComponent[]; /** * Get an array of debug elements for TsInputComponents within a single TsDateRangeComponent * * @param fixture - The component fixture * @param index - The index of the TsDateRangeComponent * @returns The array of DebugElements */ export declare function getDateRangeInputDebugElements(fixture: ComponentFixture, index?: number): DebugElement[]; /** * Get an array of TsInputComponent instances for a single TsDateRangeComponent * * @param fixture - The component fixture * @param index - The index of the TsDateRangeComponent * @returns The array of TsInputComponent instances */ export declare const getRangeInputInstances: (fixture: ComponentFixture, index?: number) => TsInputComponent[]; /** * Get an array of HTMLInputElements for a single TsDateRangeComponent * * @param fixture - The component fixture * @param index - The index of the TsDateRangeComponent * @returns The array of TsInputComponent instances */ export declare const getRangeInputElements: (fixture: ComponentFixture, index?: number) => HTMLInputElement[]; /** * Create a date range form group with required controls * * @param startDate - The initial start date * @param endDate - The initial end date * @returns The FormGroup */ export declare function createDateRangeGroup(startDate?: null | Date, endDate?: null | Date): FormGroup; /** * Set values for both date range inputs * * @param fixture - The component fixture * @param startDate - The date to set the start input * @param endDate - The date to set the end input * @param index - The select instance * @returns The whenStable promise */ export declare function setDateRangeValues(fixture: ComponentFixture, startDate: Date, endDate: Date, index?: number): Promise;