import { EditorFactory } from "../editor/types.js"; import "../edit/index.js"; import { Context, PropsWithChildren } from "react"; //#region src/react/EditContext.d.ts interface EditProviderProps { /** Combines shared defaults with the supplied per-surface options. */ createEditor: EditorFactory; } declare const EditContext: Context | undefined>; declare function EditProvider({ children, createEditor }: PropsWithChildren>): React.JSX.Element; declare function useCreateEditor(): EditorFactory | undefined; //#endregion export { EditContext, EditProvider, EditProviderProps, type EditorFactory, useCreateEditor }; //# sourceMappingURL=EditContext.d.ts.map