UNPKG

707 BTypeScriptView Raw
1import { Options } from './config';
2export declare type PrestaCLIOptions = {
3 config?: string;
4 output?: string;
5 debug?: boolean;
6} & Partial<Options>;
7export declare type PrestaCLIBuildOptions = PrestaCLIOptions & {
8 _: string[];
9};
10export declare type PrestaCLIServeOptions = PrestaCLIBuildOptions & {
11 port?: string;
12 'no-serve': boolean;
13};
14export declare type PrestaCLIDevOptions = PrestaCLIServeOptions;
15export declare function buildCommand(options: PrestaCLIBuildOptions): Promise<void>;
16export declare function devCommand(options: PrestaCLIDevOptions): Promise<{
17 close(): Promise<void>;
18}>;
19export declare function serveCommand(options: PrestaCLIServeOptions): Promise<void>;