import { OmiseError } from './Error'; import { List } from './common'; export interface Transaction { object: 'transaction'; id: string; livemode: boolean; currency: string; amount: number; location: string; direction: 'credit' | 'debit'; key: string; origin: string | T; transferable_at: string; created_at: string; } export interface TransactionList extends List> { } export declare type TransactionResponse = Transaction | OmiseError; export declare type TransactionListResponse = TransactionList | OmiseError;