import type { Node as ProseMirrorNode } from 'prosemirror-model';
import type { TextSerializer } from '../types';
/**
 * Gets the text of a Prosemirror node
 * @param node The Prosemirror node
 * @param options Options for the text serializer & block separator
 * @returns The text of the node
 * @example ```js
 * const text = getText(node, { blockSeparator: '\n' })
 * ```
 */
export declare function getText(node: ProseMirrorNode, options?: {
    blockSeparator?: string;
    textSerializers?: Record<string, TextSerializer>;
}): string;
//# sourceMappingURL=getText.d.ts.map