import { TemplateElementDependency } from '@genesislcap/foundation-ui'; import { PartialFASTElementDefinition, SyntheticViewTemplate } from '@microsoft/fast-element'; /** * @beta * @privateRemarks * The CLI can be used to monitor what is in use and needs a mapping. */ export type TemplateComponents = { anchor: TemplateElementDependency; button: TemplateElementDependency; card: TemplateElementDependency; checkbox: TemplateElementDependency; listboxOption: TemplateElementDependency; provider: TemplateElementDependency; router: TemplateElementDependency; select: TemplateElementDependency; textField: TemplateElementDependency; }; /** * @beta */ export type TemplateOptions = TemplateComponents & { somePartial?: string | SyntheticViewTemplate; }; /** * The default template options this MF has been created with. * @beta * @privateRemarks * This will likely evolve into the shell style PWA + FDC3 manifest setup, but that needs more work to evolve into MVP. * Hosts should be able to figure out everything they will need to do to fully customise a MF. Currently, they * import these `defaultTemplateOptions` and the host dev overrides. Each TemplateComponents key must be a mandatory * override, given in hosted mode the MFs won't be registering fallbacks as this would be wasteful, bloat etc. * I've added the components list to the package.json \> config block for now, but I'm not using it here. */ export declare const defaultTemplateOptions: TemplateOptions; /** * @beta * @remarks * This is the main definition of this micro frontend which is exposed for user reconfiguration. */ export declare const definition: PartialFASTElementDefinition; /** * @internal * @privateRemarks * This is used during development of this micro frontend. */ export declare const standaloneDefinition: PartialFASTElementDefinition; //# sourceMappingURL=main.definition.d.ts.map