import { BumpupPlugin, BumpupPluginOptions, ConfiguredBumpupPlugin } from "@bumpup/lib"; export declare type BumpupPluginWithOptions = [BumpupPlugin, BumpupPluginOptions]; export declare type Config = { version: string; plugins: (BumpupPlugin | BumpupPluginWithOptions)[]; }; export declare type LogLevel = 'error' | 'warn' | 'info' | 'verbose' | 'debug' | 'silly'; declare type BumpOptions = { file: string; dry: boolean; log: LogLevel; pre?: boolean; preid?: string; }; export declare const formatter: ({ message: string }: { message: any; }) => string; export declare const findConfigFile: (filename: string) => string; export declare const validateConfig: (config: Config) => void; export declare const parse: (filename: string) => Promise; export declare const configurePlugins: (config: Config, cliOptions: BumpupPluginOptions) => ConfiguredBumpupPlugin[]; export declare function isPlugin(plugin: BumpupPlugin | BumpupPluginWithOptions): boolean; export declare function isPluginWithoutOptions(plugin: BumpupPlugin | BumpupPluginWithOptions): plugin is BumpupPlugin; export declare function isPluginWithOptions(plugin: BumpupPlugin | BumpupPluginWithOptions): plugin is BumpupPluginWithOptions; export declare const bump: (options: BumpOptions) => Promise; export {};