import { Marks } from '../marks/index'; import { InlineNode, Typed } from './index'; export declare class Task { private readonly localId; private readonly state; private content; constructor(localId: string, state: TaskState); text(text: string, marks?: Marks): this; code(text: string): this; em(text: string): this; link(text: string, href: string, title?: string): this; strike(text: string): this; strong(text: string): this; mention(id: string, text: string): this; emoji(shortName: string, id?: string, text?: string): this; hardBreak(): this; add(node: InlineNode): this; toJSON(): Typed; } export declare enum TaskState { TODO = "TODO", DONE = "DONE", }