export declare type InvoiceResultDto = {
    id: string;
    total: number;
};
export declare type InvoiceDto = {
    InvoiceID?: string;
    Type: string;
    Date?: string;
    DueDate?: string;
    Contact: ContactDto;
    LineItems: LineItemDto[];
    Reference?: string;
};
export declare type ContactDto = {
    ContactID?: string;
    Name?: string;
};
export declare type LineItemDto = {
    LineItemID?: string;
    AccountCode?: string;
    Description: string;
    UnitAmount: number;
    Quantity: number;
    TaxType: string;
    Tracking?: TrackingItemDto[];
};
export declare type TrackingItemDto = {
    Name: string;
    Option: string;
};
export declare type Config = {
    userAgent: string;
    consumerKey: string;
    consumerSecret: string;
    privateKeyPath?: string;
    privateKey?: string;
};
export declare const buildXeroClient: (config: Config) => any;
export declare const buildXeroCreateInvoiceAdapter: (xeroClient: any) => (invoiceDto: InvoiceDto) => Promise<InvoiceResultDto>;
