import { ActiveRecord, Pagination } from '@oinone/kunlun-engine';
import { Condition } from '@oinone/kunlun-request';
import { IQueryPageResult } from '@oinone/kunlun-service';
import { ListSelectMode } from '@oinone/kunlun-vue-ui-common';
import { TableWidgetProps } from '../../../../view';
import { InlineTableWidget } from './InlineTableWidget';
export declare type RadioChangeHandler = (data: ActiveRecord) => void;
export interface ModelTableHandler {
    onRadioChangeHandler?: RadioChangeHandler;
}
export interface ModelTableWidgetProps extends TableWidgetProps {
    onRadioChangeHandler: RadioChangeHandler;
}
export declare class ModelTableWidget extends InlineTableWidget<ModelTableWidgetProps> {
    private handler;
    private searchText;
    setSearchText(searchText: string): void;
    tableRefreshProcess(condition?: Condition): void;
    protected get selectMode(): ListSelectMode;
    initialize(props: ModelTableWidgetProps): this;
    queryPage<T = ActiveRecord>(condition: Condition, pagination: Pagination): Promise<IQueryPageResult<T>>;
    onRadioChange(data: ActiveRecord): void;
}
