/// import Transaction from "./Transaction"; export interface FunctionParam { onRun: (transaction: Transaction) => void; onError?: (error: any) => void; } declare const OnTransactionCallback: () => [onTransaction: (input: FunctionParam) => void, process: { loading?: boolean | undefined; error?: any; }]; export default OnTransactionCallback;