/// <reference types="react" />
import { DInputAllType } from "../input";
import { DPaginationProps } from "../pager/DPagination";
import { DGridPropsInterface } 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, DInputAllType>> extends DPaginationProps<T>, Omit<DGridPropsInterface<T>, "dataRows" | "setDataRows"> {
    pageable: Pageable;
    setPageResult: React.Dispatch<React.SetStateAction<Page<T>>>;
    pageSearch?: () => unknown;
}
export declare const DGridPagination: <T extends Record<string, unknown>>({ pageResult, pageBlock, setPageable, variant, pageable, setPageResult, pageSearch, ...dGridProps }: DGridPaginationProps<T>) => import("react").JSX.Element;
export default DGridPagination;
