1 |
|
2 | import { Arch } from "builder-util";
|
3 | import { ClientRequest } from "http";
|
4 | import { HttpPublisher, PublishContext } from "electron-publish";
|
5 | import { BitbucketOptions } from "builder-util-runtime/out/publishOptions";
|
6 | export declare class BitbucketPublisher extends HttpPublisher {
|
7 | readonly providerName = "bitbucket";
|
8 | readonly hostname = "api.bitbucket.org";
|
9 | private readonly info;
|
10 | private readonly auth;
|
11 | private readonly basePath;
|
12 | constructor(context: PublishContext, info: BitbucketOptions);
|
13 | protected doUpload(fileName: string, _arch: Arch, _dataLength: number, _requestProcessor: (request: ClientRequest, reject: (error: Error) => void) => void, file: string): Promise<any>;
|
14 | deleteRelease(filename: string): Promise<void>;
|
15 | toString(): string;
|
16 | static convertAppPassword(username: string, token: string): string;
|
17 | }
|