UNPKG

719 BTypeScriptView Raw
1import { Path } from '@angular-devkit/core';
2import { ModuleImportDeclarator } from './module-import.declarator';
3import { ModuleMetadataDeclarator } from './module-metadata.declarator';
4export interface DeclarationOptions {
5 metadata: string;
6 type?: string;
7 name: string;
8 className?: string;
9 path: Path;
10 module: Path;
11 symbol?: string;
12 staticOptions?: {
13 name: string;
14 value: Record<string, any>;
15 };
16}
17export declare class ModuleDeclarator {
18 private imports;
19 private metadata;
20 constructor(imports?: ModuleImportDeclarator, metadata?: ModuleMetadataDeclarator);
21 declare(content: string, options: DeclarationOptions): string;
22 private computeSymbol;
23}