///
import { SharedHook, UseSharedHook, Merge } from '@fexd/pro-utils';
import { ProTableProps } from '../types';
export { default as useProps } from '../useProps';
export interface TablePlugin
extends UseSharedHook {
props: P;
}
export declare class ChainableTablePlugins {
plugins: TablePlugin[];
constructor(extendPlugins?: TablePlugin[]);
add>(plugin: P): ChainableTablePlugins>;
getPropsType(): T;
get(): TablePlugin[];
}
export declare function createPlugin(usePluginHook: SharedHook, name?: string): TablePlugin;
interface TableWrapperProps extends ProTableProps {
plugins?: any[];
}
export declare const TableWrapper: ({ plugins, children, ...props }: TableWrapperProps) => JSX.Element;
export declare function flattenChildren(array: any[]): any;