UNPKG

517 BTypeScriptView Raw
1interface Options {
2 repository?: string;
3 token?: string;
4 debug?: boolean;
5 silent?: boolean;
6}
7interface GithubReleaseObject {
8 tag_name: string;
9 body: string;
10 html_url: string;
11}
12export declare const defaultOptions: Options;
13export declare function setUpdateNotification(options?: Options): void;
14export declare function checkForUpdates({ repository, token, debug, silent }?: Options): Promise<void>;
15export declare function showUpdateDialog(release: GithubReleaseObject): void;
16export {};