1 | import { ChildableComponent } from '../utils';
|
2 | import { Component, ComponentClass } from '../utils/component';
|
3 | import { Application } from '../application';
|
4 | import { ProjectReflection } from '../models';
|
5 | import { SerializerComponent } from './components';
|
6 | export declare class Serializer extends ChildableComponent<Application, SerializerComponent<any>> {
|
7 | static EVENT_BEGIN: string;
|
8 | static EVENT_END: string;
|
9 | private router;
|
10 | private routes;
|
11 | initialize(): void;
|
12 | addComponent<T extends SerializerComponent<any> & Component>(name: string, componentClass: T | ComponentClass<T>): T;
|
13 | removeComponent(name: string): SerializerComponent<any> | undefined;
|
14 | removeAllComponents(): void;
|
15 | toObject(value: any, obj?: any): any;
|
16 | projectToObject(value: ProjectReflection, eventData?: {
|
17 | begin?: any;
|
18 | end?: any;
|
19 | }): any;
|
20 | private findRoutes;
|
21 | }
|