import React from 'react';
import { Schema } from '@tachybase/schema';
type Params = {
    filter?: any;
    pageSize?: number;
    page?: number;
    sort?: any;
};
export declare const TableSelectorContext: React.Context<any>;
export declare const TableSelectorParamsProvider: ({ params, children }: {
    params: Params;
    children: any;
}) => React.JSX.Element;
export declare const recursiveParent: (schema: Schema, component: any) => any;
export declare const TableSelectorProvider: React.FunctionComponent<any>;
export declare const useTableSelectorContext: () => any;
export declare const useTableSelectorProps: () => {
    loading: any;
    showIndex: boolean;
    dragSort: boolean;
    rowKey: any;
    pagination: boolean | {
        defaultCurrent: any;
        defaultPageSize: any;
    };
    onRowSelectionChange(selectedRowKeys: any, selectedRows: any): void;
    onRowDragEnd({ from, to }: {
        from: any;
        to: any;
    }): Promise<void>;
    onChange({ current, pageSize }: {
        current: any;
        pageSize: any;
    }): void;
};
export {};
