import { PageRequest } from '@routerprotocol/chain-api/cosmos/base/query/v1beta1/pagination_pb';
import { PaginationOption } from '../types/pagination';
import { Pagination, PagePagination } from '../types/pagination';
import { PageResponse } from '@routerprotocol/chain-api/cosmos/base/query/v1beta1/pagination_pb';
export declare const paginationRequestFromPagination: (pagination?: PaginationOption | undefined) => PageRequest | undefined;
export declare const generatePagination: (pagination: Pagination | PagePagination | undefined) => {
    pagination: {
        key: string | Uint8Array;
    };
} | undefined;
export declare const paginationUint8ArrayToString: (key: any) => string;
export declare const pageResponseToPagination: ({ newPagination, oldPagination, }: {
    oldPagination: PagePagination | undefined;
    newPagination?: Pagination | undefined;
}) => PagePagination;
export declare const grpcPaginationToPagination: (pagination: PageResponse | undefined) => PageResponse.AsObject;
