import { PackageManager } from '@antfu/install-pkg'; declare interface Options { /** Run install silently */ readonly silent: boolean; /** Whether to install all packages or only update `package.json` */ readonly install: boolean; /** * Which package manager to use.\ * Allowed: `npm`, `yarn`, `pnpm` or `bun`. */ pkgManager?: PackageManager; /** List of packages to ignore. */ readonly ignorePackages: string[]; /** * List of certain dependency fields to ignore.\ * For example to ignore `devDependencies` use `--ignore-deps devDependencies` or `--ignore-deps dev` for shorthand. */ readonly ignoreDeps: string[]; /** Paths or globs where `package.json` files will be scanned. */ readonly patterns: string | string[]; /** Additional arguments for package install. */ readonly additionalArgs: string[]; /** If specified, it won't make any changes in `package.json` or install any packages. */ readonly dryRun: boolean; } /** Run typle. */ declare function run(options_?: Partial): Promise; /** * Install packages with `@types` definitions. * @param {string[]} libs libraries to install * @param {Pick} [options] options */ declare function install(libs: string[], options?: Pick): Promise; /** * Define typle config. * @param {Partial} options * @returns {Partial} options */ declare function defineConfig(options: Partial): Partial; export { defineConfig, install, run };