import type { Node } from '@markdoc/markdoc';
interface DescriptionObject {
    result: string | Node | Node[];
    raw: string;
}
export declare function saveTextBeforeHeading(description: string | DescriptionObject): string | DescriptionObject;
export {};
