import CloudBase from '../../cloudBase/client'; import { ExportInvoice } from '../../ExportModel'; export declare class InvoiceQueryParams { logisticsCode: string; outInvoiceRequestNo: string; appId?: string; isvAppId?: string; } export declare class WayBillInvoiceIstdInfo { waybillNo: string; shopNo?: string; waybillAmount?: string; waybillInvoiceStatus: number; reason?: string; } export declare class AlipayInstantDeliveryInvoiceQueryResponse { code: string; msg: string; subCode: string; subMsg: string; status: number; thirdErrorCode?: string; thirdErrorMsg?: string; waybillInvoices: WayBillInvoiceIstdInfo[]; } export declare class InvoiceCreateParams { logisticsCode: string; outInvoiceRequestNo: string; invoice: InvoiceInfo; waybillInvoices: WaybillInvoiceInfo[]; appId?: string; isvAppId?: string; } export declare class InvoiceInfo { invoiceType: number; titleType: number; invoiceTitle: string; taxNumber: string; invoiceContent: string; receiver: string; phone: string; email: string; invoiceFee: string; } export declare class WaybillInvoiceInfo { waybillNo: string; waybillAmount: string; } export declare class AlipayInstantDeliveryInvoiceCreateResponse { code: string; msg: string; subCode: string; subMsg: string; status: number; invoice_fee: string; thirdErrorCode?: string; thirdErrorMsg?: string; waybillInvoices: WayBillInvoiceIstdInfo[]; } export default class Client implements ExportInvoice { _base: CloudBase; constructor(_base: CloudBase); create(params: InvoiceCreateParams): Promise; query(params: InvoiceQueryParams): Promise; }