export declare class ComponentContext { constructor(); private components; private _current?; register(component: T, key?: string): { dispose: () => void; }; select(key?: string): void; get current(): T | undefined; }