import { Text } from 'mdast'; import { Node } from 'unist'; /** * @param value - The value of the text. * @returns The text. */ export declare function createText(value: string): Text; /** * Type guard for Text. * * @param node - The node to test. * @returns True if node is Text. */ export declare function isText(node: Node): node is Text; /** * Type assertion for Text. * * @param node - The node to test. */ export declare function assertText(node: Node): asserts node is Text;