import { type Editor } from '@tiptap/react';
type ExtensionManagerLike = Pick<Editor['extensionManager'], 'extensions'>;
/** Type guard for safe editor access — Tiptap can leave a truthy `editor` with nulled internals (extensionManager, view, state) during teardown. */
export declare const isActiveTextAreaEditor: (editor: Editor | null | undefined) => editor is Editor;
/** Returns the `placeholder` extension if registered, else `undefined` (safer than `.filter(...)[0]`). */
export declare const getTextAreaPlaceholderExtension: (extensionManager: ExtensionManagerLike | null | undefined) => import("@tiptap/core").AnyExtension | undefined;
export {};
