import { ActiveRecord, ActiveRecords } from '@oinone/kunlun-engine';
import { Condition } from '@oinone/kunlun-request';
import { TableWidgetProps } from '../../../../view';
import { InlineTableWidget } from './InlineTableWidget';
export declare type CheckedChangeHandler = (data: ActiveRecord[]) => void;
export interface PermissionTableHandler {
    onCheckedChangeHandler?: CheckedChangeHandler;
}
export interface PermissionTableWidgetProps extends TableWidgetProps {
    onCheckedChangeHandler: CheckedChangeHandler;
}
export declare class PermissionTableWidget extends InlineTableWidget<PermissionTableWidgetProps> {
    private handler;
    initialize(props: PermissionTableWidgetProps): this;
    tableRefreshProcess(condition?: Condition): void;
    onCheckedChange(data: ActiveRecords): void;
    onCheckedAllChange(selected: boolean, data: ActiveRecord[]): void;
}
