import { SignToolOptions } from "@electron/windows-sign"; export interface WindowsSignOptions extends SignToolOptions { } export type featureAffinity = "main" | "autoUpdate" | "autoLaunch"; export interface StringMap { [key: string]: T; } export interface Component { guid: string; componentId: string; xml: string; featureAffinity: featureAffinity; } export interface FileComponent extends Component { file: File; } export interface ComponentRef { componentId: string; xml: string; } export interface Directory { id: string; xml: string; path: string; name: string; children: Array; files: Array; } export interface FileFolderTree { [key: string]: FileFolderTree | Array | Array | string; __ELECTRON_WIX_MSI_FILES__: Array; __ELECTRON_WIX_MSI_REGISTRY__: Array; __ELECTRON_WIX_MSI_PATH__: string; __ELECTRON_WIX_MSI_DIR_NAME__: string; } export interface AppElement { featureAffinity?: featureAffinity; } export interface File extends AppElement { name: string; path: string; } export interface Registry extends AppElement { id: string; key: string; root: "HKLM" | "HKCU" | "HKMU" | "HKCR" | "HKU"; name: string; value: string; type: "string" | "integer" | "binary" | "expandable" | "multiString"; forceCreateOnInstall?: "yes" | "no"; forceDeleteOnUninstall?: "yes" | "no"; permission?: { user: string; genericAll: "yes" | "no"; }; } export declare function isFileComponent(comp: Component | FileComponent): comp is FileComponent;