license import { InjectionToken } from '@angular/core' ; /** The injection token used to specify the StickyPositioningListener. */ export const STICKY_POSITIONING_LISTENER = new InjectionToken < StickyPositioningListener > ( 'CDK_SPL' ) ; export type StickySize = number | null | undefined ; export type StickyOffset = number | null | undefined ; export interface StickyUpdate { elements ? : readonly ( HTMLElement [ ] | undefined ) [ ] ; offsets ? : StickyOffset [ ] ; sizes : StickySize [ ] ; } /**
 * If provided, CdkTable will call the methods below when it updates the size/
 * postion/etc of its sticky rows and columns.
 */ export interface StickyPositioningListener { /** Called when CdkTable updates its sticky start columns. */ stickyColumnsUpdated ( update ) : void ; /** Called when CdkTable updates its sticky end columns. */ stickyEndColumnsUpdated ( update ) : void ; /** Called when CdkTable updates its sticky header rows. */ stickyHeaderRowsUpdated ( update ) : void ; /** Called when CdkTable updates its sticky footer rows. */ stickyFooterRowsUpdated ( update ) : void ; }