UNPKG

665 BTypeScriptView Raw
1/// <reference types="iobroker" />
2import { ExitCodes } from "./exitCodes";
3export { commonTools } from "./controllerTools";
4export * from "./utils";
5/**
6 * Returns the absolute path of the data directory for the current host. On linux, this is usually `/opt/iobroker/iobroker-data`.
7 */
8export declare function getAbsoluteDefaultDataDir(): string;
9/**
10 * Returns the absolute path of the data directory for the current adapter instance.
11 * On linux, this is usually `/opt/iobroker/iobroker-data/<adapterName>.<instanceNr>`
12 */
13export declare function getAbsoluteInstanceDataDir(adapterObject: ioBroker.Adapter): string;
14export declare const EXIT_CODES: ExitCodes;