import { IResizeEvent, IResizeInfo } from './types'; /** * @ignore */ export declare const HEADER_DATA_KEY = "identifier"; /** * Determines if the style has reached it's minimum width. * * @export * @param entry The verified entry. * @returns If the entry has reached it's minimum width. * @internal * @ignore */ export declare function isMinWidth(entry?: IResizeInfo): boolean; /** * Detects if the resize direction has changed compared to it's previous state. * * @export * @param state The resize state that needs to be checked. * @returns If the resize direction has changed. * @internal * @ignore */ export declare function isDirectionChanged(state: IResizeEvent): boolean; /** * Clamps the offset value in a safe range. * * @export * @param entry The entry that needs to be clamped. * @param offset The current `offset`. * @returns The clamped `offset` for the provided entry * @internal * @ignore */ export declare function clampOffset(entry: IResizeInfo | undefined, offset: number): number; export declare function clampColumnOffset(width: number, minWidth: number, offset: number): number; /** * Filters events if no dragging actually occured. * * @param state The current resize state. * @returns If the current resize event should be filtered. * @internal * @ignore */ export declare const resizeFilter: (state: IResizeEvent) => boolean; /** * Returns the query selector for cell elements. * * @param value The data value. * @returns The selector for the requested value. * @internal * @ignore */ export declare const cellSelector: (value: string) => string; /** * Scales the width value accordingly. * * @param value The value that needs to be formatted as a percentage. * @returns The formatted value * @internal * @ignore */ export declare const toPercentageStyle: (value: number) => string; /** * Searches for the header index associated to the requested data property. * * @param headers The header list. * @param value The header identifier value. * @internal * @ignore */ export declare const findHeaderIndexFor: (headers: HTMLDivElement[], value: string) => number; /** * Gets the data property value for the current element. * * @param element The element on which to search for the identifier. * @returns The identifier value. * @internal * @ignore */ export declare const getProperty: (element: HTMLDivElement) => string; /** * @param element The element which should be checked if it's sticky */ export declare const isSticky: (element?: HTMLDivElement) => boolean | undefined; /** * @param element Returns the exact element width */ export declare const elementWidth: (selector: string, root?: HTMLElement) => number;