import { InterpreterFrom, StateFrom } from 'xstate'; export type MachineContext = { pagesCount: number; currentPage?: number; pagesToDisplay?: number; pages?: number[]; }; export type MachineEvents = { type: 'NEXT'; input?: unknown; } | { type: 'PREV'; input?: unknown; } | { type: 'GOTO'; input: number; }; export declare const paginationMachine: import("xstate").StateMachine>; export type PaginationMachine = typeof paginationMachine; export type PaginationMachineState = StateFrom; export type PaginationMachineService = InterpreterFrom;