import { Explanation } from '../explain/Explanation'; import EscrowCreateInstructions from '../types/instructions/EscrowCreateInstructions'; import TransactionType from '../types/TransactionType'; /** * An annotation for EscrowCreate transactions. * * @property type - The type of the transaction. * @property amount - An explanation of the amount. * @property cancelAfter - An explanation of the cancelAfter. * @property condition - An explanation of the condition. * @property destination - An explanation of the destination. * @property destinationTag - An explanation of the destinationTag. * @property finishAfter - An explanation of the finishAfter. */ export interface EscrowCreateAnnotation { readonly type: TransactionType.EscrowCreate; readonly amount: Explanation; readonly cancelAfter?: Explanation; readonly condition?: Explanation; readonly destination: Explanation; readonly destinationTag?: Explanation; readonly finishAfter?: Explanation; } /** * Takes a transaction object and returns an annotated transaction object. * The returned object contains explanations about the various transaction features. * * @param transactionInstructions - The input transaction. * @returns An annotated transaction object detailing the various transaction features. */ export declare function annotate(transactionInstructions: EscrowCreateInstructions): EscrowCreateAnnotation; //# sourceMappingURL=EscrowCreateAnnotation.d.ts.map