import { Moneybird } from "./moneybird";
import { Administration } from "./administration";
import { IAttachment, IPayment, IPaymentCreate, ISalesInvoice, ISalesInvoiceSending } from "./common";
export declare class SalesInvoice {
    private readonly moneybird;
    private readonly administration;
    private readonly id;
    readonly data: ISalesInvoice;
    private readonly HTTP;
    constructor(moneybird: Moneybird, administration: Administration, data: ISalesInvoice);
    send(data?: ISalesInvoiceSending): Promise<SalesInvoice>;
    downloadPDF(): Promise<ArrayBuffer>;
    downloadUBL(): Promise<ArrayBuffer>;
    downloadPackingSlip(): Promise<ArrayBuffer>;
    addPayment(payment: IPaymentCreate): Promise<IPayment>;
    deletePayment(payment: IPayment): Promise<void>;
    deletePayment(paymentId: string): Promise<void>;
    addAttachment(content: ArrayBuffer, file_name?: string): Promise<void>;
    deleteAttachment(attachment: IAttachment): Promise<void>;
    deleteAttachment(attachmentId: string): Promise<void>;
    downloadAttachment(attachment: IAttachment): Promise<ArrayBuffer>;
    downloadAttachment(attachmentId: string): Promise<ArrayBuffer>;
    update(data: Partial<ISalesInvoice>): Promise<SalesInvoice>;
    delete(): Promise<void>;
}
//# sourceMappingURL=salesInvoice.d.ts.map