import Actions from '../../actions'; import Store from '../../store'; export declare type Action = Actions.ResetPage | Actions.SelectSort | Actions.SelectCollection | Actions.UpdateCurrentPage | Actions.UpdatePageSize | Actions.ReceivePage; export declare type State = Store.Page; export declare const DEFAULT_PAGE_SIZE = 10; export declare const DEFAULTS: State; export default function updatePage(state: State, action: Action): State; export declare function resetPage(state: State): Store.Page; export declare function updateCurrent(state: State, current: number): { current: number; sizes: Store.SelectableList; first: 1; previous?: number; next?: number; last?: number; from?: number; to?: number; }; export declare function updateSize(state: State, size: number): Store.Page; export declare function receivePage(state: State, { from, to, last, next, previous, current }: Actions.Payload.Page): { from: number; to: number; last: number; next: number; previous: number; current: number; sizes: Store.SelectableList; first: 1; };