import type { Element } from 'slate'; import React from 'react'; import type { LoadedSlateFieldProps } from '../types.js'; type ElementContextType = { attributes: Record; children: React.ReactNode; editorRef: React.RefObject; element: T; fieldProps: LoadedSlateFieldProps; path: string; schemaPath: string; }; export declare const ElementProvider: React.FC<{ childNodes: React.ReactNode; } & ElementContextType>; export declare const useElement: () => ElementContextType; export {}; //# sourceMappingURL=ElementProvider.d.ts.map