import { DebugElement } from '@angular/core'; import { ComponentFixture } from '@angular/core/testing'; import { TsPaginatorComponent } from '@terminus/ui/paginator'; export declare type TsPaginatorPage = 'first' | 'last' | 'next' | 'previous'; /** * Helper function to click a button to update results set * * @param fixture - fixture * @param dir - direction: first, last, next or previous, to determine which button to click */ export declare function clickToChangePage(fixture: ComponentFixture, dir: TsPaginatorPage): Promise; /** * Helper function to select an option from a select-list component * * @param fixture - fixture * @param value - viewable string selected */ export declare function updateRecordsPerPage(fixture: ComponentFixture, value: string): Promise; /** * Get the debug element for a TsPaginatorComponent * * @param fixture - The test fixture * @returns The debug element */ export declare function getPaginatorDebug(fixture: ComponentFixture): DebugElement; /** * Get a paginator instance from a fixture * * @param fixture - The component fixture * @returns A TsPaginatorComponent instance */ export declare function getPaginatorInstance(fixture: ComponentFixture): TsPaginatorComponent;