import { AnchorHTMLAttributes, ForwardRefExoticComponent } from 'react';
import { BaseProps } from '../../../libraries/common-types/src/common-types';
export type PaginationInformation = {
    pageSize: number;
    currentPage: number;
};
export type NavigationInformation = PaginationInformation & {
    url: string;
};
export type HrefInformation = {
    pageSize: number;
    page: number;
};
export type LinkProps = Omit<BaseProps<"nav">, "children"> & {
    linkElement?: Link;
    asLink: true;
    hrefGetter: (hrefInformation: HrefInformation) => string;
    navigationFunction?: (navigationInformation: NavigationInformation) => void;
    onPageChange?: (paginationChangeInformation: PaginationInformation) => void;
};
export type NoLinkProps = Omit<BaseProps, "children"> & {
    linkElement?: never;
    asLink?: never;
    hrefGetter?: never;
    navigationFunction?: never;
    onPageChange: (paginationChangeInformation: PaginationInformation) => void;
};
export type InternalLinkProps = {
    asLink: true;
    hrefGetter: (page: number) => string;
};
export type InternalNoLinkProps = {
    asLink?: never;
    hrefGetter?: never;
};
export type Link = ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement>> | "a";
//# sourceMappingURL=types.d.ts.map