import type { XySemanticClassNames, XySemanticStyles } from "../core"; export type XyPaginationSize = "md" | "sm"; export type XyPaginationShowTotal = boolean | ((total: number, range: [number, number]) => string); export type XyPaginationSemanticDom = "ellipsis" | "item" | "list" | "next" | "prev" | "quickJumper" | "root" | "sizeChanger" | "total"; export interface XyPaginationSemanticProps { current: number; disabled: boolean; pageCount: number; pageSize: number; simple: boolean; size: XyPaginationSize; total: number; } export type XyPaginationClassNames = XySemanticClassNames; export type XyPaginationStyles = XySemanticStyles;