import { Cancellation, FileSystemProvider, URI, WorkspaceFolder } from "langium"; import { ModuleContext } from "./context.js"; import { Maybe } from "../util/maybe.js"; export declare const MOD_FILE = "kumori.mod.json"; /** Gathers information about all valid modules within a given workspace folder. */ export declare function GatherWorkspaceModules(fs: FileSystemProvider, ws: WorkspaceFolder, configPath?: string, cancel?: Cancellation.CancellationToken): Promise; /** Recursively finds the root directories of modules within a given location. */ export declare function FindModules(fs: FileSystemProvider, location: URI, cancel?: Cancellation.CancellationToken): Promise; /** Recursively searches for the module manifest within the given location and its parent directories. */ export declare function LocateModuleManifest(fs: FileSystemProvider, location: URI): Promise>;