import { QueryableMongoCrudReturn } from "../trpc";
import { UseDataTableReturn } from "./use-data-table";
import { DataTableTransformer, TData } from "../types";
export interface UseAdminDataTableProps<T extends TData> {
    /**
     * Generate tRPC router to use for data table population
     */
    router: QueryableMongoCrudReturn<T>;
    /**
     * (optional) Transformer to use for data table population
     */
    transformer?: DataTableTransformer<T>;
}
export interface UseAdminDataTableReturn<T extends TData> {
    dataTableProps: UseDataTableReturn<T>;
}
export declare const useAdminDataTable: <T extends object>({ router, transformer, }: UseAdminDataTableProps<T>) => UseAdminDataTableReturn<T>;
//# sourceMappingURL=use-admin-data-table.d.ts.map