export interface OpenWithOptions { file: boolean; folder: boolean; background: boolean; } export interface OpenWithRegistryTarget { registryPath: string; commandArg: string; } export interface OpenWithCommandInfo { executablePath: string; executableName: string; args: string; } export interface OpenWithRegistryItem { keyName: string; keyPath: string; command?: string; normalizedCommand?: string; commandInfo?: OpenWithCommandInfo; } export declare function getOpenWithRegistryTargets({ file, folder, background }: OpenWithOptions): OpenWithRegistryTarget[]; export declare function normalizeOpenWithText(value: string): string; export declare function parseOpenWithCommand(command: string): { executablePath: string; executableName: string; args: string; } | undefined; export declare function normalizeOpenWithCommand(command: string): string; export declare function getOpenWithName(name: string): string; export declare function normalizeOpenWithName(name: string): string; export declare function buildOpenWithCommand(path: string, commandArg: string): string; export declare function getOpenWithRegSection(name: string, path: string, registryPath: string, commandArg: string): string; export declare function listOpenWithRegistryItems(registryPath: string): Promise; export declare function addOpenWith(path: string, { file, folder, background }: OpenWithOptions): Promise;