import { Auto, IPlugin } from "@auto-it/core"; import * as t from "io-ts"; declare const pluginOptions: t.IntersectionC<[t.TypeC<{ /** S3 bucket to post the asset to */ bucket: t.StringC; /** S3 Region to post the asset to */ region: t.StringC; /** Paths to the files to upload to S3 */ files: t.ArrayC>; }>, t.PartialC<{ /** Whether this plugin should overwrite files on S3 */ overwrite: t.BooleanC; }>]>; export declare type IUploadAssetsPluginOptions = t.TypeOf; declare const configOptions: t.UnionC<[t.IntersectionC<[t.TypeC<{ /** S3 bucket to post the asset to */ bucket: t.StringC; /** S3 Region to post the asset to */ region: t.StringC; /** Paths to the files to upload to S3 */ files: t.ArrayC>; }>, t.PartialC<{ /** Whether this plugin should overwrite files on S3 */ overwrite: t.BooleanC; }>]>, t.ArrayC>; }>, t.PartialC<{ /** Whether this plugin should overwrite files on S3 */ overwrite: t.BooleanC; }>]>>]>; export declare type ConfigOptions = t.TypeOf; /** Post your built artifacts to s3 during `auto release` */ export default class S3Plugin implements IPlugin { /** The name of the plugin */ name: string; /** The options of the plugin */ private readonly options; /** A client to communicate with AWS */ private readonly aws; /** Initialize the plugin with it's options */ constructor(options: ConfigOptions); /** Tap into auto plugin points. */ apply(auto: Auto): void; /** Check if a path exists in an AWS bucket */ private exists; /** Upload files to a bucket */ private processBucket; } export {}; //# sourceMappingURL=index.d.ts.map