import { Potion, PotionResources } from './potion'; /** * Provide a way to register Potion resources when the app is bootstrapped. * * @example * // app.resources.ts * import {PotionResources, PotionModule} from 'potion-client/@angular'; * export const appResources: PotionResources = { * '/engine': Engine, * '/car': [Car, { * readonly: ['production'] * }] * }; * * // app.module.ts * import {AppComponent} from './app.component' * import {resources} from './app.resources'; * @NgModule({ * imports: [PotionModule], * bootstrap: [AppComponent], * providers: [ * { * provide: POTION_RESOURCES, * useValue: resources, * multi: true * } * ] * } * export class AppModule {} */ export declare class PotionModule { constructor(potion: Potion, resources: PotionResources[]); } export * from './potion';