export declare enum StartupTaskState { disabled = 0, disabledByUser = 1, enabled = 2 } export interface StartupTask { state: StartupTaskState; taskId: String; requestEnableAsync(callback: (error: Error, result: StartupTaskState) => void): void; disable(): void; } export declare class WindowsStoreAutoLaunch { /** * Returns the windows.applicationModel namespace for this model. If the app is not * running inside an appx container, this will fail. * * @static * @param {(reason: string) => void} [reject] * @returns * @memberof WindowsStoreAutoLaunch */ private static getAppModel; /** * Returns all startupTasks for this package. * * @static * @returns {Promise>} * @memberof WindowsStoreAutoLaunch */ static getStartupTasks(): Promise>; /** * Returns the first found startupTask. * * @static * @returns {(Promise)} * @memberof WindowsStoreAutoLaunch */ static getStartupTask(): Promise; /** * Returns a StartupTaskState if a StartupTask is found - or null if * we could not find one. * * @static * @returns {(Promise)} * @memberof WindowsStoreAutoLaunch */ static getStatus(): Promise; /** * Takes the first startup task and attempts to disable it. * * @static * @returns {(Promise)} * @memberof WindowsStoreAutoLaunch */ static disable(): Promise; /** * Takes the first startup task and attempts to enable it. * * @static * @returns {(Promise)} * @memberof WindowsStoreAutoLaunch */ static enable(): Promise; }