import { PolymorphicComponentProps } from '../../utils/create-polymorphic-component.mjs'; import React__default, { ReactNode } from 'react'; import { PaginationControlProps } from './pagination-control.mjs'; import 'tailwind-variants'; import 'tailwind-variants/dist/config'; import '../../types/index.mjs'; interface CreateEdgeComponent { icon: ReactNode; name: string; action: 'onNext' | 'onPrevious' | 'onFirst' | 'onLast'; type: 'next' | 'previous'; } interface PaginationEdgeProps extends PaginationControlProps { icon?: ReactNode; } declare function createEdgeComponent({ icon: defaultIcon, name, action, type }: CreateEdgeComponent): ((props: PolymorphicComponentProps) => React__default.ReactElement>) & Omit, "component" | keyof PaginationEdgeProps> & { ref?: any; renderRoot?: ((props: any) => any) | undefined; }) | (PaginationEdgeProps & { component: React__default.ElementType; renderRoot?: ((props: Record) => any) | undefined; })>, never> & Record; declare const PaginationNext: ((props: PolymorphicComponentProps) => React__default.ReactElement>) & Omit, "component" | keyof PaginationEdgeProps> & { ref?: any; renderRoot?: ((props: any) => any) | undefined; }) | (PaginationEdgeProps & { component: React__default.ElementType; renderRoot?: ((props: Record) => any) | undefined; })>, never> & Record; declare const PaginationPrevious: ((props: PolymorphicComponentProps) => React__default.ReactElement>) & Omit, "component" | keyof PaginationEdgeProps> & { ref?: any; renderRoot?: ((props: any) => any) | undefined; }) | (PaginationEdgeProps & { component: React__default.ElementType; renderRoot?: ((props: Record) => any) | undefined; })>, never> & Record; declare const PaginationFirst: ((props: PolymorphicComponentProps) => React__default.ReactElement>) & Omit, "component" | keyof PaginationEdgeProps> & { ref?: any; renderRoot?: ((props: any) => any) | undefined; }) | (PaginationEdgeProps & { component: React__default.ElementType; renderRoot?: ((props: Record) => any) | undefined; })>, never> & Record; declare const PaginationLast: ((props: PolymorphicComponentProps) => React__default.ReactElement>) & Omit, "component" | keyof PaginationEdgeProps> & { ref?: any; renderRoot?: ((props: any) => any) | undefined; }) | (PaginationEdgeProps & { component: React__default.ElementType; renderRoot?: ((props: Record) => any) | undefined; })>, never> & Record; export { type CreateEdgeComponent, type PaginationEdgeProps, PaginationFirst, PaginationLast, PaginationNext, PaginationPrevious, createEdgeComponent };