import { InstructionAnnotation, BaseAnnotation } from './annotations'; import Transaction from './types/Transaction'; export declare type Annotation = BaseAnnotation & InstructionAnnotation; /** * Creates a transaction description / annotation. * Throws errors if the transaction format is incorrect. * * @param txn - The transaction to be described. * @returns A transaction annotation describing the transaction. */ export declare function annotate(txn: Transaction): Annotation; //# sourceMappingURL=annotate.d.ts.map