UNPKG

2.62 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { Pagination as ArkPagination } from "@ark-ui/react/pagination";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const usePaginationStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { usePaginationStyles };
6export interface PaginationRootProviderBaseProps extends Assign<ArkPagination.RootProviderBaseProps, SlotRecipeProps<"pagination">>, UnstyledProp {
7}
8export interface PaginationRootProviderProps extends HTMLChakraProps<"div", PaginationRootProviderBaseProps> {
9}
10export declare const PaginationRootProvider: import("react").ForwardRefExoticComponent<PaginationRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface PaginationRootBaseProps extends Assign<ArkPagination.RootBaseProps, SlotRecipeProps<"pagination">>, UnstyledProp {
12}
13export interface PaginationRootProps extends HTMLChakraProps<"div", PaginationRootBaseProps> {
14}
15export declare const PaginationRoot: import("react").ForwardRefExoticComponent<PaginationRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const PaginationPropsProvider: React.Provider<PaginationRootBaseProps>;
17export interface PaginationEllipsisProps extends HTMLChakraProps<"div", ArkPagination.EllipsisBaseProps> {
18}
19export declare const PaginationEllipsis: import("react").ForwardRefExoticComponent<PaginationEllipsisProps & import("react").RefAttributes<HTMLDivElement>>;
20export interface PaginationItemProps extends HTMLChakraProps<"button", ArkPagination.ItemBaseProps> {
21}
22export declare const PaginationItem: import("react").ForwardRefExoticComponent<PaginationItemProps & import("react").RefAttributes<HTMLButtonElement>>;
23export interface PaginationNextTriggerProps extends HTMLChakraProps<"button", ArkPagination.NextTriggerBaseProps> {
24}
25export declare const PaginationNextTrigger: import("react").ForwardRefExoticComponent<PaginationNextTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
26export interface PaginationPrevTriggerProps extends HTMLChakraProps<"button", ArkPagination.PrevTriggerBaseProps> {
27}
28export declare const PaginationPrevTrigger: import("react").ForwardRefExoticComponent<PaginationPrevTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
29export declare const PaginationContext: (props: ArkPagination.ContextProps) => import("react").ReactNode;
30export interface PaginationPageChangeDetails extends ArkPagination.PageChangeDetails {
31}
32export interface PaginationPageSizeChangeDetails extends ArkPagination.PageSizeChangeDetails {
33}