import { BaseState } from './BaseState';
import { SuspendableObject } from '../types';
/**
 * Adaptable State Section for Custom Sort Module
 */
export interface CustomSortState extends BaseState {
    /**
     * Collection of Custom Sort objects.
     */
    CustomSorts?: CustomSort[];
}
/**
 * Custom Sort object used in Custom Sort function.
 */
export interface CustomSort extends SuspendableObject {
    /**
     * Name of the Custom Sort definition
     */
    Name: string;
    /**
     * Id of Column on which Custom Sort will be applied
     */
    ColumnId: string;
    /**
     * Order of values by which Column will be sorted; Date values are persisted as ISO strings ('yyyy-MM-dd')
     *
     */
    SortedValues?: (string | number)[];
}
