/// <reference types="react" />
import { T_d_input_possible_all } from "../input";
import { DPaginationProps } from "../pager/DPagination";
import { DGridProps } from "./DGrid";
type Pageable = {
    page?: number;
    size?: number;
    sort?: string[];
    direction?: string;
};
type Page<T> = {
    content?: T[];
    totalElements?: number;
    size?: number;
    pageable?: {
        pageNumber?: number;
    };
};
export interface DGridPaginationProps<T extends Record<string, T_d_input_possible_all>> extends DPaginationProps<T>, Omit<DGridProps<T>, "dataRows" | "setDataRows"> {
    pageable: Pageable;
    setPageResult: React.Dispatch<React.SetStateAction<Page<T>>>;
    pageSearch?: () => unknown;
}
export declare const DGridPagination: <T extends Record<string, any>>({ pageResult, pageBlock, setPageable, variant, pageable, setPageResult, pageSearch, ...dGridProps }: DGridPaginationProps<T>) => import("react").JSX.Element;
export default DGridPagination;
