import { ComponentsState, Component } from './types'; import { SpecsState } from '../specs/types'; declare type State = { runtime: { components: ComponentsState; specs: SpecsState; }; }; export declare const getComponent: (state: State, id: string) => Component | undefined; export declare function getComponentState(state: State, id: string): T; export {};