export declare type ZuiFunction<T1, T2, T3> = (value?: T2, row?: T1, index?: number) => T3;
export declare type ZuiTableAction<T1, T2, T3> = ZuiFunction<T1, T2, T3 | Promise<T3>>;
/**
 * @T1 row
 * @T2 value
 */
export interface ZuiColumnCommon<T1, T2 = any> {
    field: keyof T1;
    align?: 'left' | 'center' | 'right';
    title: string;
    titleHtml?: string;
    valueHtml?: ZuiFunction<T1, T2, string>;
    transform?: ZuiFunction<T1, T2, any>;
    click?: ZuiFunction<T1, T2, void>;
    backgroundColor?: ZuiFunction<T1, T2, string>;
    /** default: false */
    hide?: boolean;
    /** default: false */
    sticky?: boolean;
    /** default: false */
    sort?: boolean;
    /**
     * Column width
     * - ex: 100px, 200em, 300rem, 30% */
    width?: string;
    /** ex: 100px, 200em, 300rem */
    minWidth?: string;
}
