import { Path, type PortablePath } from '@boost/common'; import { type Debugger } from '@boost/debug'; import { Config } from './Config'; import { type FileSystem } from './FileSystem'; import { Package } from './Package'; import { PackageValidator } from './PackageValidator'; import type { BuildOptions, FilterOptions, ValidateOptions } from './types'; export declare class Packemon { readonly config: Config; readonly debug: Debugger; fs: FileSystem; readonly workingDir: Path; constructor(cwd?: PortablePath); build(pkg: Package, baseOptions: BuildOptions): Promise; clean(pkg: Package): Promise; validate(pkg: Package, baseOptions: Partial): Promise; /** * Find and load the package that has been configured with a `packemon` * block in the `package.json`. Once loaded, validate the configuration. */ findPackage({ skipPrivate }?: FilterOptions): Package | null; /** * Find all packages within a project. If using workspaces, return a list of packages * from each workspace glob. If not using workspaces, assume project is a package. */ findPackages({ filter, skipPrivate }?: FilterOptions): Promise; /** * Determine the workspace root when running in a monorepo. * This is necessary as it changes functionality. */ findWorkspaceRoot(startingDir?: Path): Path; } //# sourceMappingURL=Packemon.d.ts.map