@edtr-io/plugin-text
Version:
13 lines • 405 B
TypeScript
export declare function useEditorFocus(): {
focusPrevious: () => void;
focusNext: () => void;
};
export declare function useEditorHistory(): {
hasPendingChanges: boolean;
undo: () => void;
redo: () => void;
persist: () => void;
reset: () => void;
};
export declare function useEditorMode(): [boolean, (payload: boolean) => void];
//# sourceMappingURL=hooks.d.ts.map