import { Initialized , RemoteData } from '@abraham/remotedata' ; import { DIALOG } from './types' ; export interface Dialog { name : DIALOG ; data : unknown ; } export type DialogState = RemoteData < Error , Dialog > ; export const initialDialogState = new Initialized ( ) ;