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; function findById(orderId: string, token: string, isAdmin?: boolean): Promise; function create(cartId: string, cartVersion: number, orderNumber: string | null, token: string): Promise; function update(orderId: string, orderVersion: number, actions: UpdateAction[], token: string): Promise; function remove(orderId: string, orderVersion: number, token: string): Promise; }