// AUTO-GENERATED by scripts/generate-wrappers.mjs — do not edit by hand. // Source: packages/core/manifest.json (component "pagination"). import type { ElementType, ReactNode } from 'react'; import { Pagination as PaginationController, type PaginationOptions } from '@42/core/pagination'; import { C42 } from '../C42'; const DEFAULT_HTML: string | null = "\n
\n "; export interface PaginationProps extends Partial { /** Element/tag rendered as the controller root. Defaults to `"nav"`. */ as?: ElementType; className?: string; children?: ReactNode; /** Fired on `pagination:change` — detail: `{ page: number }` */ onChange?: (detail: { page: number }, event: CustomEvent) => void; /** Extra props are forwarded to the rendered `