1 | interface PluginOption {
|
2 | name: string;
|
3 | package: string;
|
4 | value: string;
|
5 | available(tags: Tags[]): boolean;
|
6 | }
|
7 | declare enum Tags {
|
8 | browser = "Browser",
|
9 | node = "Node",
|
10 | typescript = "TypeScript",
|
11 | angular = "Angular",
|
12 | react = "React"
|
13 | }
|
14 | export declare const plugins: Array<PluginOption>;
|
15 | export interface Answers {
|
16 | targets: Tags[];
|
17 | config: string;
|
18 | plugins: PluginOption[];
|
19 | schema: string;
|
20 | documents?: string;
|
21 | output: string;
|
22 | script: string;
|
23 | introspection: boolean;
|
24 | }
|
25 | export declare function init(): Promise<void>;
|
26 | export declare function guessTargets(): Promise<Record<Tags, boolean>>;
|
27 | export {};
|