import { Price } from 'oak-domain/lib/types/DataType'; import { EntityShape } from 'oak-domain/lib/types/Entity'; import { EntityDesc, ActionDef } from 'oak-domain/lib/types'; import { Schema as Account } from './Account'; import { Schema as Order } from './Order'; import { Schema as AccountOper } from './AccountOper'; export interface Schema extends EntityShape { account: Account; price: Price; order: Order; opers?: AccountOper[]; } type IState = 'unsettled' | 'settled'; type IAction = 'settle'; export declare const IActionDef: ActionDef; type Action = IAction | 'preSettle' | 'refund' | 'refundFailure'; export declare const entityDesc: EntityDesc; export {};