import { Observable } from 'rxjs'; import { AgreementInterface, CommonFieldInterface, ConfigInterface, CustomFieldInterface, FieldInterface, OrderInterface, SalesOrderProjectionFilterInterface, UserInterface } from './_internal/interfaces'; import { Order, ProductActivation } from './_internal/objects/sales-orders'; import { CustomerSalesOrdersApiService } from './_internal/customer-sales-orders.api.service'; import { InitiateOrderExportRequest, InitiateOrderExportResponse, ListCustomerSalesOrderRequestFilters, ListCustomerSalesOrderRequestSortOption } from './_internal/objects/api'; import { PagedResponse } from './sales-orders.service'; import * as i0 from "@angular/core"; export declare class CustomerSalesOrdersService { private readonly api; constructor(api: CustomerSalesOrdersApiService); create(order: OrderInterface): Observable; createForPartnerApproval(order: OrderInterface): Observable; approveSalesOrder(orderId: string, businessId: string, agreements?: AgreementInterface[], paymentMethodToken?: string): Observable; updateAnswers(orderId: string, businessId: string, customFields: CustomFieldInterface[], commonFields: CommonFieldInterface[], extraFields: FieldInterface[]): Observable; get(orderId: string, businessId: string, projectionFilter?: SalesOrderProjectionFilterInterface): Observable; list(partnerId: string, filters: ListCustomerSalesOrderRequestFilters, sortOption: ListCustomerSalesOrderRequestSortOption, cursor: string, pageSize: number): Observable>; getUsers(orderId: string, businessId: string): Observable<{ [key: string]: UserInterface; }>; initiateOrderExport(exportOrderRequest: InitiateOrderExportRequest): Observable; createWithPaymentIntent(order: OrderInterface): Observable; declineSalesOrder(businessId: string, orderId: string, declinedReason: string): Observable; getConfig(businessId: string, orderId: string): Observable; previewOrderActivations(orderId: string, businessId: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }