import type { BlokkliApp } from '#blokkli/editor/types/app'; /** * Use the blokkli editor app. * * The app is only available when the editor is mounted. Calling this * composable in normal rendering does not work. * * @param optional - If true, returns undefined instead of throwing when not in edit mode * @returns The blokkli app, or undefined if optional is true and not in edit mode * @throws Error if not in edit mode and optional is false/undefined */ export declare function useBlokkli(optional: true): BlokkliApp | undefined; export declare function useBlokkli(optional?: false): BlokkliApp;