import { Environment } from '@mockoon/commons'; /** * Load a file from the filesystem or a URL. If a cloud URL is provided, * it will fetch the environment from the API. * If parse is true, it will also parse the file content as JSON. * * @param filePath - path or URL to the file * @param parse - set to false to return raw file content * @param token - optional token for authenticating cloud requests * @returns */ export declare const loadFile: (filePath: string, parse: T, token?: string) => Promise; /** * Load and parse a JSON data file. * * @param filePaths */ export declare const parseDataFile: (filePath: string, userOptions?: { port?: number; hostname?: string; proxy?: "enabled" | "disabled"; }, repair?: boolean, token?: string) => Promise<{ originalPath: string; environment: Environment; }>;