import type { ElementNode } from 'lexical';
import type { Transformer } from '../../packages/@lexical/markdown/index.js';
export declare function normalizeMarkdown(input: string, shouldMergeAdjacentLines?: boolean): string;
/**
 * Renders markdown from a string. The selection is moved to the start after the operation.
 *
 *  @param {boolean} [shouldPreserveNewLines] By setting this to true, new lines will be preserved between conversions
 *  @param {boolean} [shouldMergeAdjacentLines] By setting this to true, adjacent non empty lines will be merged according to commonmark spec: https://spec.commonmark.org/0.24/#example-177. Not applicable if shouldPreserveNewLines = true.
 */
export declare function $convertFromMarkdownString(markdown: string, transformers?: Array<Transformer>, node?: ElementNode, shouldPreserveNewLines?: boolean, shouldMergeAdjacentLines?: boolean): void;
//# sourceMappingURL=lexicalMarkdownCopy.d.ts.map