export interface RegEntry { /** Full path to the registry branch, for example * HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DirectDrawEx */ root: string; /** The registry key name */ key: string; /** One of possible registry value types, for example REG_DWORD or REG_SZ */ type: string; /** The actual value. Could be empty */ value: string; } /** * Parses the output of the reg query command into a list of RegEntry instances * * @param output - The output of the reg query command * @returns List of matched RegEntry instances */ export declare function parseRegQueryOutput(output: string): RegEntry[]; /** * Lists registry tree (e.g. recursively) under the given root node. * The lookup is done under the same registry branch that the current process * system architecture. * * @param root - The registry key name, which consists of two parts: * - The root key: HKLM | HKCU | HKCR | HKU | HKCC * - The subkey under the selected root key, for example \Software\Microsoft * @returns List of matched RegEntry instances or an empty list * if either no entries were found under the given root or the root does not exist. */ export declare function queryRegistry(root: string): Promise; //# sourceMappingURL=registry.d.ts.map