import { VersionInfo } from "publish-api" ; export function foo ( options , error , info , name ) { } export function bool ( ) { return true ; } export function num ( ) { return 1 ; } export type PublishProvider = "github" | "bintray" | "s3" | "generic" ; /**
 * Can be specified in the [config](https://github.com/electron-userland/electron-builder/wiki/Options#configuration-options) or any platform- or target- specific options.
 *
 * If `GH_TOKEN` is set — defaults to `[{provider: "github"}]`.
 *
 * If `BT_TOKEN` is set and `GH_TOKEN` is not set — defaults to `[{provider: "bintray"}]`.
 */ export interface PublishConfiguration { /**
     * The provider.
     */ readonly provider : PublishProvider ; /**
     * The owner.
     */ readonly owner ? : string | null ; readonly token ? : string | null ; } see export interface S3Options extends PublishConfiguration { /**
     * The bucket name.
     */ readonly bucket : string ; default readonly path ? : string | null ; default readonly channel ? : string | null ; default readonly acl ? : "private" | "public-read" | null ; default readonly storageClass ? : "STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | null ; }