export declare function getObjectViewResultToArray(doc: { rows: ioBroker.GetObjectViewItem[]; } | undefined): T[]; /** Makes sure that a host id starts with "system.host." */ export declare function normalizeHostId(host: string): string; export declare function objectIdToHostname(id: string): string; /** * Creates a promise that waits for the specified time and then resolves */ export declare function wait(ms: number): Promise; /** Converts ioB pattern into regex */ export declare function pattern2RegEx(pattern: string): string;