import { BigNumber, ethers } from 'ethers';
import { AllocationAssetOutcome, AllocationItem, Guarantee } from './outcome';
import { Address, Bytes32 } from './types';
export interface DepositedEvent {
    destination: string;
    amountDeposited: BigNumber;
    destinationHoldings: BigNumber;
}
export declare function getDepositedEvent(eventResult: any[]): DepositedEvent;
export declare function convertBytes32ToAddress(bytes32: string): string;
export declare function convertAddressToBytes32(address: string): string;
export declare function computeNewAllocationWithGuarantee(initialHoldings: string, allocation: AllocationItem[], indices: number[], guarantee: Guarantee): {
    newAllocation: AllocationItem[];
    deleted: boolean;
    payouts: string[];
    totalPayouts: string;
};
export declare function computeNewAllocation(initialHoldings: string, allocation: AllocationItem[], indices: number[]): {
    newAllocation: AllocationItem[];
    deleted: boolean;
    payouts: string[];
    totalPayouts: string;
};
export declare function computeNewAssetOutcome(assetHolderAddress: Address, nitroAdjudicatorAddress: Address, allocationUpdatedEvent: {
    channelId: Bytes32;
    initialHoldings: string;
}, tx: ethers.Transaction): {
    newAssetOutcome: AllocationAssetOutcome | '0x00';
    newHoldings: BigNumber;
    externalPayouts: AllocationItem[];
    internalPayouts: AllocationItem[];
};
//# sourceMappingURL=asset-holder.d.ts.map