import type { IColumnDesc, IValueColumnDesc } from 'lineupjs'; import type { IScoreColumnDesc } from './interfaces'; export declare function isScoreColumnDesc(desc: IValueColumnDesc | IColumnDesc): desc is IScoreColumnDesc; /** * Creates an implementation of toDescRef that supports score columns. * Note: This is only useful for the ranking dump function. The data provider from the ranking already * uses this internally. * * @param defaultToDescRef the default behavior that gets called for each column that is NOT a score column * @returns a function that can be directly passed to the dump function of the ranking */ export declare function createToDescRefWithScoreColumns(defaultToDescRef: (value: any) => any): (desc: any) => any; /** * Creates an implementation of fromDescRef that supports score columns. * Note: This is only useful for the ranking dump function. The data provider from the ranking already * uses this internally. * * @param defaultFromDescRef the default behavior that gets called for each column that is NOT a score column * @returns a function that can be directly passed to the restore function of the ranking */ export declare function createFromDescRefWithScoreColumns(defaultFromDescRef: (value: any) => any): (descRef: any) => any; //# sourceMappingURL=utilities.d.ts.map