import { UnitConfiguration } from "vant-environment/units"; export default interface APISettings { /** The API's port number. Default is `8000`. Corresponding environment variable: `PORT`. */ port: number; /** The default units. **Important**: Weather data uploads have to use these units! Corresponding environment variables: `RAIN_UNIT`, `TEMPERATURE_UNIT`, ... */ units: UnitConfiguration; /** The minimimum log level that will be output. Default is `"info"`. Corresponding environment variable: `LOG_LEVEL` */ logLevel: "debug" | "info" | "warn" | "error"; /** Whether the console log is enabled. Default is `true`. Corresponding environment variable: `CONSOLE_LOG` */ consoleLog: boolean; /** Whether file logging is enabled. Default is `true`. Corresponding environment variable: `FILE_LOG` */ fileLog: boolean; /** Whether to prefer environment variables to configure the api. Settings passed directly are still preferred. Default is `false`. */ preferEnvironmentVariables: boolean; /** Whether to log detailed error information. Default is `true`. Corresponding environment variable: `LOG_ERROR_INFORMATION´ */ logErrorInformation: boolean; } export declare const defaultAPISettings: APISettings;