/** * Canonical ioBroker URI helpers, ported from `@iobroker/adapter-react-v5` (`Components/IobUri`). * * - state: `iobstate://[/]` (attr: val, ts, lc, ack, q, from, ...) * - object: `iobobject://[/]` (attr.path: common.enabled, native.x, ...) * - file: `iobfile:////` * - http: `http(s)://...` * - base64: `data:...` */ export type IobUriType = 'object' | 'state' | 'file' | 'http' | 'base64'; export interface IobUriParsed { type: IobUriType; address: string; path?: string; } export declare function iobUriToString(uri: IobUriParsed): string; /** Parse an ioBroker URI. */ export declare function iobUriParse(uri: string): IobUriParsed; /** Read a nested attribute from an object by a dotted path (e.g. ["common","enabled"]). */ export declare function getAttrInObject(obj: Record | null | undefined, path: string[] | undefined): any;