import { MindElixirInstance, MindElixirData } from 'mind-elixir';
import { PostType, ObjectType } from '@nice/common';

export interface MindEditorProps {
  initialData?: MindElixirData;
  onSave?: (data: MindElixirData) => Promise<void>;
  taxonomyType?: ObjectType;
}

export interface MindEditorState {
  instance: MindElixirInstance | null;
  isSaving: boolean;
  error: Error | null;
}
