import { ScaledOrder } from 'utils' ; export const PREVIEW_POST_ORDER = 'preview/PREVIEW_POST_ORDER' ; export const PREVIEW_POST_MARKET_ORDER = 'preview/PREVIEW_POST_MARKET_ORDER' ; export const GET_BALANCE = 'preview/GET_BALANCE' ; export const SHOW_PREVIEW = 'preview/SHOW_PREVIEW' ; export const TOGGLE_PREVIEW = 'preview/SWITCH_PREVIEW' ; export declare namespace PreviewActions { type SHOW_PREVIEW = ScaledOrder [ ] ; } export interface PreviewState { orders : ScaledOrder [ ] ; balance : number ; error : string ; showPreview : boolean ; previewLoading : boolean ; } export const ACTIONS_preview = [ GET_BALANCE , PREVIEW_POST_ORDER , PREVIEW_POST_MARKET_ORDER ] as const ;