import React from 'react';
import { TableProps } from 'antd';
import { GraphQLObject, GraphQLType, AdminHeaderType, AdminFooterType, GraphQLObjects } from '../definitions';
import type { useQuery } from '@apollo/client/react';
export type AdminTypeOpts = {
    type: GraphQLType;
    heights: {
        offset?: number;
        extra?: number;
        header?: number;
        footer?: number;
    };
    extraLeft?: (_: {
        items: GraphQLObjects;
        itemsFiltered: GraphQLObjects;
    }) => React.JSX.Element;
    extraRight?: (_: {
        items: GraphQLObjects;
        itemsFiltered: GraphQLObjects;
    }) => React.JSX.Element;
    context?: any;
    onNew?: (_: {
        type: GraphQLType;
        context: any;
    }) => void;
    onLink?: (_item: GraphQLObject, _: {
        type: GraphQLType;
        context: any;
    }) => void;
    queryOptions?: useQuery.Options<unknown>;
};
export declare function AdminTypeHeader({ type, context, search, setSearch, extraLeft, extraRight, items, itemsFiltered, itemsSelected, onNew, }: AdminHeaderType): import("react/jsx-runtime").JSX.Element;
export declare function AdminTypeFooter({ type, items, itemsSelected, selectable, currentPageData, className, children }: AdminFooterType): import("react/jsx-runtime").JSX.Element;
export declare function AdminTypeInner({ type, extraRight, extraLeft, context: adminContext, heights, onNew, onLink, contextExtraProps, queryOptions, ...props }: AdminTypeOpts & Omit<TableProps<GraphQLObject>, 'footer'> & {
    contextExtraProps?: object;
}): import("react/jsx-runtime").JSX.Element;
/**
 * Render a antd form wrapper with the list of fields.
 */
export declare function AdminType(props: AdminTypeOpts & Omit<TableProps<GraphQLObject>, 'footer'>): import("react/jsx-runtime").JSX.Element;
export default AdminType;
//# sourceMappingURL=AdminType.d.ts.map