import { Order, PaginatedOrderResult } from '@cxcloud/ct-types/orders';
import { UpdateAction, QueryOptions } from '@cxcloud/ct-types/common';
export declare namespace Orders {
    function fetchAll(token: string, isAdmin?: boolean, options?: QueryOptions): Promise<PaginatedOrderResult>;
    function findById(orderId: string, token: string, isAdmin?: boolean): Promise<Order>;
    function create(cartId: string, cartVersion: number, orderNumber: string | null, token: string): Promise<Order>;
    function update(orderId: string, orderVersion: number, actions: UpdateAction[], token: string): Promise<Order>;
    function remove(orderId: string, orderVersion: number, token: string): Promise<Order>;
}
