UNPKG

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