import { EasyCoderState } from '../../type';

export default function useStateById(type: 'element', id: string): EasyCoderState.Element;
export default function useStateById(type: 'editor', id: string): EasyCoderState.Editor;
export default function useStateById(type: 'editor' | 'element', id: string): EasyCoderState.Editor | EasyCoderState.Element;
