import { Ref } from '@dineug/r-html';
import { AppContext } from '../appContext';
import { Unsubscribe } from '../../internal-types';
import { ThemeOptions } from '../../themes/radix-ui-theme';
import { Theme } from '../../themes/tokens';
import { ErdEditorElement, ErdEditorProps } from './ErdEditor';
type Props = {
props: ErdEditorProps;
ctx: ErdEditorElement;
app: AppContext;
root: Ref;
};
export declare function useErdEditorAttachElement({ props, ctx, app, root }: Props): {
theme: Theme;
themeState: {
options: ThemeOptions;
preset: Theme;
custom: Partial;
};
destroySet: Set;
hasDarkMode: () => boolean;
};
export {};