import { Plugin } from '../../types.js'; export { SampleViewComponent } from './SampleViewComponent.js'; export type PluginViewDefinition = { container: string; components: { slot: string; component: string; }[]; plugin: string; }; export type ViewDefinition = { container: string; components: { component: { slot: string; component: string; }; plugin: string; }[]; }; /** * Views extension point. */ export interface ViewsExtensionPoint { getViewDefinitions(): ViewDefinition[]; } /** * Represents a plugin that manages views in the application. */ export declare class ViewsPlugin extends Plugin { private viewsDefinitons; start(): Promise; consolidateViews(pluginViewDefinitions: PluginViewDefinition[]): ViewDefinition[]; stop(): Promise; /** * Retrieves the view definition for the specified container. * @param container - The container name. * @returns The view definition for the specified container, or undefined if not found. */ getViewsByContainer(container: string): ViewDefinition | undefined; } export declare class SimpleViewsExtension implements ViewsExtensionPoint { getViewDefinitions(): ViewDefinition[]; }