import { ControlInstance } from '@makeswift/controls'; import { type Action, type UnknownAction } from '../actions'; import type { DescriptorsPropControllers } from '../../prop-controllers/instances'; import type { Descriptor } from '../../prop-controllers/descriptors'; export interface PropControllersHandle = Record> { setPropControllers(propControllers: DescriptorsPropControllers | null): void; } export declare function isPropControllersHandle(value: unknown): value is PropControllersHandle; export type State = { handles: Map>; instances: Map>>; }; export declare function getInitialState(): State; export declare function getPropControllersHandle(state: State, documentKey: string, elementKey: string): PropControllersHandle | null; export declare function getPropControllers(state: State, documentKey: string, elementKey: string): Record | null; export declare function getPropController(state: State, documentKey: string, elementKey: string, propName: string): ControlInstance | null; export declare function reducer(state: State | undefined, action: Action | UnknownAction): State; //# sourceMappingURL=prop-controller-handles.d.ts.map