/** Applies the componentId -> action map to the matching elements under root. */ export declare function applyComponentsState(root: ParentNode | null | undefined, componentsState: Record | undefined): void; /** Reverts a previously-applied componentId -> action map. */ export declare function clearComponentsState(root: ParentNode | null | undefined, componentsState: Record | undefined): void;