interface AutoLaunchOptions { /** * Application name. */ name: string; /** * Path to application. Default is `process.execPath`. */ path?: string | undefined; /** * Hidden on launch. Default is `false`. */ isHidden?: boolean | undefined; /** * For Mac-only options. */ mac?: { /** * By default, AppleScript is used to add a Login Item. If this is `true`, Launch Agent will be used to auto-launch your app. Defaults is `false`. */ useLaunchAgent?: boolean | undefined; } | undefined; } declare class AutoLaunch { constructor(options: AutoLaunchOptions); /** * Enables auto-launch at start up. */ enable(): Promise; /** * Disables auto-launch at start up. */ disable(): Promise; /** * Returns true if auto-launch is enabled. */ isEnabled(): Promise; } export = AutoLaunch;