import { Nullable } from "./helper-types"; import { BrowserBuildFormat, RollupSourcemap } from "./types"; export declare type GlobalsOptions = Nullable | string[]>; export interface SourceMapOptions { sourcemap?: Nullable; } export interface PerBuildModuleOptions { esModule?: Nullable; interop?: Nullable; } export interface PerBuildMinOptions { min?: Nullable; } export interface InputOptions { api?: Nullable; bin?: Nullable; } export declare type ModuleString = "main" | "browser" | "bin"; export declare type ModuleOption = Nullable; export declare type MinString = "main" | "module" | "browser" | "bin"; export declare type MinOption = Nullable; export interface TypesOptions { equals?: Nullable; } export interface BrowserOptions { format?: Nullable; name?: Nullable; id?: Nullable; extend?: Nullable; globals?: GlobalsOptions; } export interface CommonJSBuildOptions extends SourceMapOptions, PerBuildModuleOptions, PerBuildMinOptions { } export interface ESModuleBuildOptions extends SourceMapOptions, PerBuildMinOptions { } export interface BrowserBuildOptions extends SourceMapOptions, PerBuildModuleOptions, PerBuildMinOptions, BrowserOptions { } export interface BundlibOptions extends SourceMapOptions, TypesOptions, BrowserOptions { input?: Nullable; esModule?: ModuleOption; interop?: ModuleOption; min?: MinOption; cache?: Nullable; main?: Nullable; module?: Nullable; browser?: Nullable; bin?: Nullable; types?: Nullable; }