import { ConfigProps } from '../loader/types'; import { TableDownloadConfig, TableWidgetConfig, TableColumn, SortDirection } from './types'; export declare const DEFAULT_PAGE = 0; export declare const DEFAULT_ROWS_PER_PAGE = 10; export declare const DEFAULT_ROWS_PER_PAGE_OPTIONS: number[]; export declare const DEFAULT_COLUMN_ID: null; export declare const DEFAULT_DIRECTION: SortDirection; /** * Creates download configuration for table widgets, supporting PNG (screenshot) and CSV (data) exports. CSV output uses column keys as headers and filters out `id` fields. * * @param props - Configuration with `refUI` reference for PNG export. * @returns Array of download items for use with the Download action. */ export declare function tableDownloadConfig({ refUI, }: ConfigProps): TableDownloadConfig; /** * Returns the default configuration for table widgets with pagination and sorting, including column definitions and local data mode. * * @param columns - Array of column definitions for the table. * @returns Default table widget config. */ export declare function tableConfig(columns?: TableColumn[]): TableWidgetConfig;