1 | import { Application } from 'express';
|
2 | import { Callback } from '@verdaccio/types';
|
3 | /**
|
4 | * Trigger the server after configuration has been loaded.
|
5 | * @param {Object} config
|
6 | * @param {Object} cliArguments
|
7 | * @param {String} configPath
|
8 | * @param {String} pkgVersion
|
9 | * @param {String} pkgName
|
10 | * @deprecated use runServer instead
|
11 | */
|
12 | declare function startVerdaccio(config: any, cliListen: string, configPath: string, pkgVersion: string, pkgName: string, callback: Callback): void;
|
13 | /**
|
14 | *
|
15 | * @param webServer
|
16 | * @param addr
|
17 | * @param pkgName
|
18 | * @param pkgVersion
|
19 | * @deprecated use initServer instead
|
20 | */
|
21 | declare function listenDefaultCallback(webServer: Application, addr: any, pkgName: string, pkgVersion: string): void;
|
22 | export { startVerdaccio, listenDefaultCallback };
|