import { Component, Editor, SymbolInfo } from 'grapesjs'; /** * Make sure we can drop a symbol instance */ export declare function allowDrop(editor: Editor, component: Component): boolean; /** * Get all the symbols */ export declare function getSymbols(editor: Editor): Array; /** * Get a symbol by its ID */ export declare function getSymbol(editor: Editor, component: Component): SymbolInfo | null; /** * Create a new symbol from a component */ export declare function createSymbol(editor: Editor, component: Component): SymbolInfo | null; /** * Bind a symbol instance to a component */ export declare function unbindSymbolInstance(editor: Editor, component: Component): void; /** * Delete a symbol instance and all its references * This will remove the main symbol but leave the instances */ export declare function deleteSymbol(editor: Editor, symbol: Component): void; //# sourceMappingURL=utils.d.ts.map