import { String, Price } from 'oak-domain/lib/types/DataType'; import { EntityShape } from 'oak-domain/lib/types/Entity'; import { EntityDesc } from 'oak-domain/lib/types'; import { Schema as Pay } from './Pay'; import { Schema as Refund } from './Refund'; import { Schema as WithdrawTransfer } from './WithdrawTransfer'; import { Schema as SysAccountMove } from './SysAccountMove'; export type SysAccountOperType = 'pay' | 'refund' | 'withdrawTransfer' | 'compensate' | 'moveIn' | 'moveOut'; export interface Schema extends EntityShape { delta: Price; type: SysAccountOperType; entity: String<32>; entityId: String<64>; pay?: Pay; refund?: Refund; withdrawTransfer?: WithdrawTransfer; sysAccountMove?: SysAccountMove; } export declare const entityDesc: EntityDesc;