import type { DSPaginationElement } from '@digdir/designsystemet-web'; import '@digdir/designsystemet-web'; import type { HTMLAttributes } from 'react'; import type { DefaultProps } from '../../types'; import type { MergeRight } from '../../utilities'; export type PaginationProps = MergeRight, { /** * Sets the screen reader label for the Pagination area * @default 'Bla i sider' */ 'aria-label'?: string; /** * Current page number */ 'data-current'?: string; /** * Total number of pages */ 'data-total'?: string; /** * Change the default rendered element for the one passed as a child, merging their props and behavior. * @default false * * @deprecated This is not supported anymore, as the element needs to be `ds-pagination` */ asChild?: boolean; }>; /** * Pagination component, used to navigate through a list of items. * * @example * * * * Forrige * * * 1 * * * 2 * * * */ export declare const Pagination: import("react").ForwardRefExoticComponent, "aria-label" | "asChild" | "data-current" | "data-total"> & { /** * Sets the screen reader label for the Pagination area * @default 'Bla i sider' */ 'aria-label'?: string; /** * Current page number */ 'data-current'?: string; /** * Total number of pages */ 'data-total'?: string; /** * Change the default rendered element for the one passed as a child, merging their props and behavior. * @default false * * @deprecated This is not supported anymore, as the element needs to be `ds-pagination` */ asChild?: boolean; } & import("react").RefAttributes>; //# sourceMappingURL=pagination.d.ts.map