import { Card } from './card'; export declare enum LineType { HEADING = "HEADING", BULLET_POINT = "BULLET_POINT", NUMBER_POINT = "NUMBER_POINT", /** * A line paragraph that's not the child of a node, e.g. a heading or a point. */ PARAGRAPH_ALONE = "PARAGRAPH_ALONE", CODE = "CODE", CODE_BLOCK = "CODE_BLOCK", BLOCK_QUOTE = "BLOCK_QUOTE", LINK = "LINK", IMAGE = "IMAGE" } export declare class MarkdownPoint { id: string; previousHeadingPointId: string | null; parentTopHeadingId: string | null; parent2ndHeadingId: string | null; parent3rdHeadingId: string | null; parent4thHeadingId: string | null; parent5thHeadingId: string | null; childrenPointIds: string[]; mdMarkup: string; htmlMarkup: string; lineType: LineType; listItemInfo: string | null; headerLevel: number; parentHeaderLevel: number; hasParent: boolean; content: string; line: number; lineEndSelf: number; lineEndChildren: number; cards: [number, Card][]; cciMarkups: string[]; bodyParagraphs: string[]; constructor(partialPoint: Partial); } /** * This means always insert at the position and push whatever is in the current line after it. */ export interface MoveInstruction { fromLineStart: number; fromLineEnd: number; toLineStart: number; emptyLinesBeforeToLineStart: number; emptyLinesAfterToLineEnd: number; } export declare const movePoint: (allPoints: MarkdownPoint[], pointToMove: MarkdownPoint, pointToMoveNextTo: MarkdownPoint, insertPosition: 'before' | 'after' | 'insideFirst' | 'insideLast') => MoveInstruction;