export declare function readRegistryKey(hive: string, path: string, key?: string): Promise;