/**
 * Copyright (c) 2020 BlockDev AG
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
export interface PaginationQuery {
    pageSize?: number;
    page?: number;
}
export interface Pageable<T> {
    items: T[];
    page: number;
    pageSize: number;
    totalItems: number;
    totalPages: number;
}
export declare function parsePageable<T>(data: any): Pageable<T>;
