import * as React from 'react'; export interface BasePaginationProps extends React.HTMLAttributes { /** * @internal */ testId?: string; isInverse?: boolean; page?: number; /** * The total number of Pagination buttons * @default 1 */ count?: number; /** * If true, disables all of the Pagination buttons * @default false */ disabled?: boolean; /** * If true, ellipses in classic Pagination become page-jump controls. * @default false */ enablePageJump?: boolean; /** * If true, hides the next page button * @default false */ hideNextButton?: boolean; /** * If true, hides the previous page button * @default false */ hidePreviousButton?: boolean; /** * Number of page buttons before and after the current page * @default 1 */ numberOfAdjacentPages?: number; /** * Number of page buttons at the beginning and end of the page number buttons list * @default 1 */ numberOfEdgePages?: number; /** * Event that fires when the page number changes */ onPageChange?: (event: React.SyntheticEvent, newPage: number) => void; /** * Size toggles between default and large variant buttons. * @default PageButtonSize.medium */ size?: PageButtonSize; /** * If true, shows the first page button * @default false */ showFirstButton?: boolean; /** * If true, shows the last page button * @default false */ showLastButton?: boolean; /** * Enum which changes Pagination into a dropdown when using 'simple'. * @default PaginationType.classic */ type?: PaginationType; } export declare enum PaginationType { classic = "classic", simple = "simple" } export interface ControlledPaginationProps extends BasePaginationProps { defaultPage: never; /** * Current page number when used with onPageChange. */ page?: number; } export interface UncontrolledPaginationProps extends BasePaginationProps { /** * Page selected by default when the component is uncontrolled */ defaultPage?: number; /** * Current page number when used with onPageChange. */ page: number; } export declare type PaginationProps = ControlledPaginationProps | UncontrolledPaginationProps; export declare enum PageButtonSize { medium = "medium", large = "large" } export declare const NavButton: import("@emotion/styled").StyledComponent<({} & import("../IconButton").IconTextButtonProps & React.RefAttributes & { theme?: import("@emotion/react").Theme; }) | ({ children?: never; iconPosition?: never; leadingIcon?: never; } & import("../IconButton").IconOnlyButtonProps & React.RefAttributes & { theme?: import("@emotion/react").Theme; }), {}, {}>; export declare const Pagination: React.ForwardRefExoticComponent<(ControlledPaginationProps & React.RefAttributes) | (UncontrolledPaginationProps & React.RefAttributes)>;