import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { RegistryContext, RegistryTicket, RegistryTicketInput } from "../../composables/createRegistry/index.mjs"; import { PaginationContext, PaginationTicket } from "../../composables/createPagination/index.mjs"; //#region src/components/Pagination/PaginationRoot.vue.d.ts declare const usePaginationRoot: (key: string, defaultValue?: PaginationContext | undefined) => PaginationContext, providePaginationRoot: (key: string, context: PaginationContext, app?: import("vue").App) => PaginationContext; declare const usePaginationControls: (key: string, defaultValue?: RegistryContext, RegistryTicket & RegistryTicketInput> | undefined) => RegistryContext, RegistryTicket & RegistryTicketInput>, providePaginationControls: (key: string, context: RegistryContext, RegistryTicket & RegistryTicketInput>, app?: import("vue").App) => RegistryContext, RegistryTicket & RegistryTicketInput>; declare const usePaginationItems: (key: string, defaultValue?: RegistryContext, RegistryTicket & RegistryTicketInput> | undefined) => RegistryContext, RegistryTicket & RegistryTicketInput>, providePaginationItems: (key: string, context: RegistryContext, RegistryTicket & RegistryTicketInput>, app?: import("vue").App) => RegistryContext, RegistryTicket & RegistryTicketInput>; interface PaginationRootProps extends AtomProps { /** Namespace for dependency injection */ namespace?: string; /** Total number of items */ size?: number; /** * Number of visible page buttons. * If undefined, auto-calculates based on container width. */ totalVisible?: number; /** Number of items per page */ itemsPerPage?: number; /** Ellipsis character */ ellipsis?: string | false; } interface PaginationRootSlotProps { /** Current page (1-indexed) */ page: number; /** Total number of items */ size: number; /** Total number of pages */ pages: number; /** Items per page */ itemsPerPage: number; /** Visible page items for rendering */ items: PaginationTicket[]; /** Start index of items on current page (0-indexed) */ pageStart: number; /** End index of items on current page (exclusive) */ pageStop: number; /** Whether on first page */ isFirst: boolean; /** Whether on last page */ isLast: boolean; /** Go to first page */ first: () => void; /** Go to last page */ last: () => void; /** Go to next page */ next: () => void; /** Go to previous page */ prev: () => void; /** Go to specific page */ select: (page: number) => void; /** Attributes to bind to the root element */ attrs: { 'aria-label': string; 'role': 'navigation' | undefined; }; } declare const _default: typeof __VLS_export; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal<(PaginationRootProps & { modelValue?: number; }) & { "onUpdate:modelValue"?: ((value: number) => any) | undefined; "onUpdate:model-value"?: ((value: T | T[]) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: { default: (props: PaginationRootSlotProps) => any; }; emit: ((evt: "update:model-value", value: T | T[]) => void) & ((event: "update:modelValue", value: number) => void); }>) => import("vue").VNode & { __ctx?: NonNullable>; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {}; //#endregion export { PaginationRootProps, PaginationRootSlotProps, _default as default, providePaginationControls, providePaginationItems, providePaginationRoot, usePaginationControls, usePaginationItems, usePaginationRoot };