1 | import { PrestaCLIDevOptions, PrestaCLIBuildOptions } from './cli';
|
2 | import { Plugin } from './plugins';
|
3 | export declare type Options = {
|
4 | files: string[];
|
5 | output: string;
|
6 | assets: string;
|
7 | plugins: Plugin[];
|
8 | port: number;
|
9 | };
|
10 | export declare type Config = Options & {
|
11 | env: string;
|
12 | staticOutputDir: string;
|
13 | functionsOutputDir: string;
|
14 | functionsManifest: string;
|
15 | };
|
16 | export declare const defaultConfigFilepath = "presta.config.js";
|
17 | export declare function getAvailablePort(preferred: string): Promise<number>;
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export declare function getConfigFile(filepath?: string, shouldExit?: boolean): any;
|
24 | export declare function create(env: string, cli: PrestaCLIBuildOptions | PrestaCLIDevOptions, file: Partial<Options>, cwd?: string): Config;
|