UNPKG

piral-core

Version:

The core library for creating a Piral instance.

27 lines (26 loc) 1.12 kB
interface CodegenOptions { root: string; origin: string; cat: string; appName: string; shared: Array<string>; externals: Array<string>; publicPath: string; isolation: 'classic' | 'modern'; internalStyles: 'inline' | 'sheet' | 'none'; debug?: { viewState?: boolean; loadPilets?: boolean; hardRefresh?: boolean; viewOrigins?: boolean; extensionCatalogue?: boolean; clearConsole?: boolean; }; emulator: boolean; } export declare function createBasicAppFunc(imports: Array<string>, exports: Array<string>, opts: CodegenOptions): void; export declare function createDependencies(imports: Array<string>, exports: Array<string>, opts: CodegenOptions): void; export declare function createDefaultState(imports: Array<string>, exports: Array<string>, opts: CodegenOptions): void; export declare function createDebugHandler(imports: Array<string>, exports: Array<string>, opts: CodegenOptions): void; export declare function createRouteHandler(imports: Array<string>, exports: Array<string>, opts: CodegenOptions): void; export {};