import { InstallReporter } from './install/reporter.ts'; import type { DepID } from '@vltpkg/dep-id'; import type { Diff, Graph } from '@vltpkg/graph'; import type { CommandFn, CommandUsage } from '../index.ts'; /** * The resulting object of an install operation. To be used by the view impl. */ export type InstallResult = { /** * A queue of package IDs that need to be built after the install is complete. */ buildQueue?: DepID[]; /** * The resulting graph structure at the end of an install. */ graph: Graph; /** * The diff between the actual and ideal graphs, if available. */ diff?: Diff; }; export declare const usage: CommandUsage; export declare const views: { readonly json: (i: InstallResult) => { buildQueue?: DepID[] | undefined; message?: string | undefined; add: { name: string; version?: string; }[]; added: number; change: { name: string; from?: string; to?: string; }[]; changed: number; remove: { name: string; version?: string; }[]; removed: number; }; readonly human: typeof InstallReporter; }; export declare const command: CommandFn;