Current section
Files
Jump to
Current section
Files
dist/src/hooks/editor/utils/read-preset-or-throw.d.ts
import { EditorPreset } from '../typings';
/**
* Reads the hook configuration from the element's attribute and parses it as JSON.
*
* @param element - The HTML element that contains the hook configuration.
* @returns The parsed hook configuration.
*/
export declare function readPresetOrThrow(element: HTMLElement): EditorPreset;
//# sourceMappingURL=read-preset-or-throw.d.ts.map