import {CLEAR_HISTORY_COMMAND} from 'lexical';
import {useLexicalComposerContext} from '@lexical/react/LexicalComposerContext';
// import fileHelper from './fileHelper'
const fs = window.require("fs").promises

export async function importFile(pathName) {
    return await fs.readFile(pathName)
}

export function overWriteFile(filePath) {
    fs.writeFile(filePath,)
}