import http from 'node:http';
import { XeroClient, Attachments } from 'xero-node';

type ICreateInvoiceAttachmentParameters = {
    contents: Buffer;
    filename: string;
    invoiceId: string;
};
declare const createInvoiceAttachment: (client: XeroClient, tenantId: string, { invoiceId, filename, contents }: ICreateInvoiceAttachmentParameters) => Promise<{
    body: Attachments;
    response: http.IncomingMessage;
}>;

export { createInvoiceAttachment };
