import React from 'react'; import { ReadonlyAsyncStore } from '../../area-chart/async-store'; import { StickyColumnsCellState, StickyColumnsProps, StickyColumnsState } from './interfaces'; export interface StickyColumnsModel { store: ReadonlyAsyncStore; style: { wrapper?: React.CSSProperties; }; refs: { table: React.RefCallback; wrapper: React.RefCallback; cell: (columnId: PropertyKey, node: null | HTMLElement) => void; }; } export declare function useStickyColumns({ visibleColumns, stickyColumnsFirst, stickyColumnsLast }: StickyColumnsProps): StickyColumnsModel; interface UseStickyCellStylesProps { stickyColumns: StickyColumnsModel; columnId: PropertyKey; getClassName: (styles: null | StickyColumnsCellState) => Record; } interface StickyCellStyles { ref: React.RefCallback; className?: string; style?: React.CSSProperties; } export declare function useStickyCellStyles({ stickyColumns, columnId, getClassName }: UseStickyCellStylesProps): StickyCellStyles; export {};