import { PaginationButtonProps } from "./PaginationButton"; import { ComponentProps, JSX, ParentProps } from "solid-js"; export interface PaginationTheme { base: string; layout: { table: { base: string; span: string; }; }; pages: { base: string; showIcon: string; previous: { base: string; icon: string; }; next: { base: string; icon: string; }; selector: { base: string; active: string; }; }; } export type PaginationProps = ParentProps; interface Pagination extends ComponentProps<"nav"> { currentPage: number; layout?: "navigation" | "pagination" | "table"; onPageChange: (page: number) => void; showIcons?: boolean; totalPages: number; previousLabel?: string; nextLabel?: string; renderPaginationButton?: (props: PaginationButtonProps) => JSX.Element; } export declare const Pagination: { (p: PaginationProps): JSX.Element; Button: (p: PaginationButtonProps) => JSX.Element; }; export {};