import * as fs from 'fs'; import { d as PartialDiagnostic, F as Folder } from './index-BAt2jTRc.js'; /** Parse a multi-line indented string with emojis for files and folders into an FSD root. * * @param fsMarkup a file system tree represented in markup using file and folder emojis * @param mountTo virtually make the passed markup a subtree of the mountTo folder */ declare function parseIntoFolder(fsMarkup: string, mountTo?: string): Folder; declare function compareMessages(a: PartialDiagnostic, b: PartialDiagnostic): number; declare function joinFromRoot(...segments: Array): string; declare function createFsMocks(mockedFiles: Record, original: typeof fs): typeof fs; export { compareMessages, createFsMocks, joinFromRoot, parseIntoFolder };