//#region utils/renovate.d.ts type RenovateImportOptions = { cooldown?: boolean; }; //#endregion //#region config.d.ts type Config = { /** Array of dependencies to include */ include?: Array; /** Array of dependencies to exclude */ exclude?: Array; /** Array of package types to use */ types?: Array; /** URL to npm registry */ registry?: string; /** Minimum dependency age, e.g. 7 (days), "1w", "2d", "6h" */ cooldown?: number | string; /** Pin dependencies to semver ranges */ pin?: Record; /** File or directory paths to use */ files?: Array; /** Only use paths matching these globs */ includePaths?: Array; /** Skip paths matching these globs, replacing `defaultExcludePaths` */ excludePaths?: Array; /** Extra files per mode, matched by path glob or RegExp */ filePatterns?: { actions?: Array; }; /** Which modes to enable */ modes?: Array; /** Update versions and write dependency files */ update?: boolean; /** Include indirect Go dependencies */ indirect?: boolean; /** Output a JSON object */ json?: boolean; /** Print verbose output to stderr */ verbose?: boolean; /** Exit with code 2 when updates are available */ errorOnOutdated?: boolean; /** Exit with code 0 when updates are available and 2 when not */ errorOnUnchanged?: boolean; /** Force color output */ color?: boolean; /** Disable color output */ noColor?: boolean; /** Disable HTTP cache */ noCache?: boolean; /** Network request timeout in ms, go probes use half */ timeout?: number; /** Maximum number of parallel HTTP sockets */ sockets?: number; /** Ignore the `latest` tag and take the greatest release */ greatest?: boolean | Array; /** Consider prereleases, implying `greatest` */ prerelease?: boolean | Array; /** Never consider prereleases */ release?: boolean | Array; /** Consider only up to semver-patch */ patch?: boolean | Array; /** Consider only up to semver-minor */ minor?: boolean | Array; /** Allow downgrading onto a lower `latest` tag */ allowDowngrade?: boolean | Array; /** Per-package option overrides, matched by name; last matching override wins */ overrides?: Array; /** Opt-in to inheriting select fields from other tools' configs */ inherit?: { renovate?: RenovateImportOptions; }; }; /** Options applied to dependencies whose name matches an override's patterns. */ type Override = { /** Name patterns this override applies to (glob or RegExp). Omit to match all. */ include?: Array; /** Name patterns excluded from this override */ exclude?: Array; /** Minimum dependency age, e.g. 7 (days), "1w", "2d", "6h"; 0 disables a global cooldown */ cooldown?: number | string; /** Ignore the `latest` tag and take the greatest release */ greatest?: boolean; /** Consider prereleases, implying `greatest` */ prerelease?: boolean; /** Never consider prereleases */ release?: boolean; /** Consider only up to semver-patch */ patch?: boolean; /** Consider only up to semver-minor */ minor?: boolean; /** Allow downgrading onto a lower `latest` tag */ allowDowngrade?: boolean; }; declare const cliBaseConfig: unique symbol; //#endregion //#region modes/shared.d.ts type Dep = { old: string; new: string; oldPrint?: string; newPrint?: string; oldOrig?: string; info?: string; age?: string; date?: string; cooldownDays?: number; oldDigest?: string; newDigest?: string; digestOnly?: boolean; }; type Deps = { [name: string]: Dep; }; type DepsByMode = { [mode: string]: Deps; }; type Output$1 = { results: { [mode: string]: { [type: string]: Deps; }; }; message?: string; }; //#endregion //#region utils/files.d.ts /** renovate's `:ignoreModulesAndTests` preset from its `config:recommended` */ export declare const defaultExcludePaths: string[]; //#endregion //#region api.d.ts /** A dependency whose lookup failed. Every other dependency is still resolved and written. */ export type DepError = { mode: string; /** The dependency type, or the file path for the file-scoped modes, as in `results` */ type: string; name: string; error: string; }; /** `errors` is absent unless a lookup failed, keeping a clean run's shape unchanged. */ export type Output = Output$1 & { errors?: Array; }; export type UpdatesOptions = Config & { forgeapi?: string; pypiapi?: string; jsrapi?: string; goproxy?: string; cargoapi?: string; dockerapi?: string; }; export declare function updates(opts?: UpdatesOptions): Promise; //#endregion export { type Config, type Dep, type Deps, type DepsByMode, type Override, cliBaseConfig as cliConfigBaseDir };