import * as common from './common'; import * as bankaccount from './bankaccount'; import * as card from './card'; import * as transaction from './transaction'; export declare type PaymentInstrument = bankAccount | card; export declare type Options = { outcome: transaction.RefundOutcome; } & (card | {}); export declare type CreateInbound = { accountId: string; amount: string; method: string; targetStateId?: transaction.TransactionState; options?: Options; purpose: common.Purpose; paymentInstrumentId?: string; description?: string; annotations?: { [x: string]: string; }; tags?: Array; groupId?: string; }; export declare type CreateOutbound = { accountId: string; amount: string; method: string; targetStateId?: transaction.TransactionState; purpose: common.Purpose; paymentInstrumentId: string; description: string; annotations?: { [x: string]: string; }; tags?: Array; groupId?: string; reference?: string; }; declare type bankAccount = { bankAccount: bankaccount.Create; type?: 'bankAccount'; }; declare type card = { card: {}; method?: 'card'; }; export {};