import React from 'react'; import { AcceptDropParams, ColumnsConfig, DataColumnProps, DropPosition } from '@epam/uui-core'; import { ColumnsConfigurationRowProps, DndDataType, GroupedColumnsType, GroupedDataColumnProps } from './types'; export declare function isColumnLocked(column: DataColumnProps): boolean; export declare function canAcceptDrop(props: AcceptDropParams, nextColumn?: DataColumnProps, prevColumn?: DataColumnProps): { bottom: boolean; top?: undefined; } | { top: boolean; bottom?: undefined; } | { bottom?: undefined; top?: undefined; } | { top: boolean; bottom: boolean; }; export declare function getNewColumnOrder(props: { targetOrder: string; targetPrevOrder?: string; targetNextOrder?: string; position: DropPosition; }): string; export declare function isEmptyCaption(s: React.ReactNode): boolean; export declare function isColumnAlwaysHiddenInTheConfigurationModal(column: DataColumnProps): boolean; export declare function isColumnFilteredOut(column: DataColumnProps, searchFields: string[], filter?: string): boolean; interface IGroupAndFilterSortedColumnsProps { sortedColumns: ColumnsConfigurationRowProps[]; searchValue: string; getSearchFields: (column: DataColumnProps) => string[]; } export declare function groupAndFilterSortedColumns(props: IGroupAndFilterSortedColumnsProps): GroupedColumnsType; export declare function findFirstByGroupKey(arr: T[], groupKey: keyof GroupedColumnsType): { column?: T; prev?: T; next?: T; }; export declare function findLastByGroupKey(arr: T[], groupKey: keyof GroupedColumnsType): { column?: T; prev?: T; next?: T; }; export declare function sortColumnsAndAddGroupKey(props: { columns: DataColumnProps[]; prevConfig: ColumnsConfig; }): GroupedDataColumnProps[]; export {}; //# sourceMappingURL=columnsConfigurationUtils.d.ts.map