import { Optional } from '@angular/core'; import { Subject } from 'rxjs'; import { TsSortDirection } from './sort.directive'; /** * To modify the labels and text displayed, create a new instance of TsSortHeaderIntl and * include it in a custom provider. */ export declare class TsSortHeaderIntl { /** * Stream that emits whenever the labels here are changed. Use this to notify * components if the labels have changed after initialization. */ changes: Subject; /** * ARIA label for the sorting button * * @param id */ sortButtonLabel: (id: string) => string; /** * A label to describe the current sort (visible only to screenreaders) * * @param id * @param direction */ sortDescriptionLabel: (id: string, direction: TsSortDirection) => string; } /** * Factory to return an instance of TsSortHeaderIntl * * @param parentIntl */ export declare const TS_SORT_HEADER_INTL_PROVIDER_FACTORY: (parentIntl: TsSortHeaderIntl) => TsSortHeaderIntl; /** * TsSortHeaderIntl provider declaration */ export declare const TS_SORT_HEADER_INTL_PROVIDER: { provide: typeof TsSortHeaderIntl; deps: Optional[][]; useFactory: (parentIntl: TsSortHeaderIntl) => TsSortHeaderIntl; };