import type { Ref, ComputedRef } from "vue"; declare type MaybeRef = T | Ref; export interface IOptions { page?: MaybeRef; pageSize?: MaybeRef; numitens?: MaybeRef; numButtons?: MaybeRef; } export interface IPagination { page: Ref; pageSize: Ref; numitens: Ref; numButtons: Ref; numPages: ComputedRef; slice: ComputedRef<[number, number]>; buttons: ComputedRef; hasPrev: ComputedRef; hasNext: ComputedRef; goPrev: () => number; goNext: () => number; goStart: () => 1; goEnd: () => number; } interface IButton { page: number; } export interface IPageButton extends IButton { active: boolean; ellipsis: false; } export interface IEllipsisButton extends IButton { active: false; ellipsis: true; } export declare type IPaginatorButton = IPageButton | IEllipsisButton; declare const _default: (userOptions: IOptions) => IPagination; export default _default;