1 | import { DependencyStatsOutput, InstallTarget } from '../../vendor/types/esinstall';
|
2 | import { CommandOptions, ImportMap, SnowpackConfig, SnowpackSourceFile } from '../types/snowpack';
|
3 | export declare function getInstallTargets(config: SnowpackConfig, lockfile: ImportMap | null, scannedFiles?: SnowpackSourceFile[]): Promise<InstallTarget[]>;
|
4 | export declare function command(commandOptions: CommandOptions): Promise<void>;
|
5 | interface InstallRunOptions extends CommandOptions {
|
6 | installTargets: InstallTarget[];
|
7 | shouldWriteLockfile: boolean;
|
8 | shouldPrintStats: boolean;
|
9 | }
|
10 | interface InstallRunResult {
|
11 | importMap: ImportMap;
|
12 | newLockfile: ImportMap | null;
|
13 | stats: DependencyStatsOutput | null;
|
14 | }
|
15 | export declare function run({ config, installTargets, shouldWriteLockfile, shouldPrintStats, }: InstallRunOptions): Promise<InstallRunResult>;
|
16 | export {};
|