export interface CustomerTotals {
    billed: number;
    collected: number;
    refundLines: number;
    refunded: number;
}
export interface CustomerPosition {
    netPrice: number;
    netReceived: number;
    outstanding: number;
    refundDue: number;
}
export declare function customerPosition(t: CustomerTotals): CustomerPosition;
export type CustomerPayState = 'REFUND_DUE' | 'UNPAID' | 'PARTIAL' | 'PAID';
export declare function customerPayState(p: CustomerPosition): CustomerPayState;
