import { FileManager } from "./formContext"; /** Simple web-based FileManager that uploads directly to the API and constructs URLs synchronously. * Suitable for desktop/portal contexts where no local caching or offline support is needed. */ export default class SimpleFileManager implements FileManager { protected apiUrl: string; /** @param apiUrl API base URL e.g. "https://api.mwater.co/v3/" */ constructor(apiUrl: string); /** Get URL to download a file. Resolves instantly. */ getFileUrl(fileId: string): Promise; /** Upload a file directly to the API */ uploadFile(file: File, fileId: string): Promise; }