/**
 * Removes all Markdoc tags and returns the plain text content.
 *
 * Parses the provided string using Markdoc's parser, then extracts only
 * the inner text from the parsed AST, stripping away any tags, markup,
 * or schema structures.
 *
 * If the input is `undefined` or an empty string, the function returns it as is.
 *
 * @param text - The raw Markdoc content to process.
 * @returns The plain text content with all Markdoc tags removed,
 *          or `undefined` if the input was `undefined`.
 *
 * @example
 * ```ts
 * removeMarkdocTags('Hello **world**'); // "Hello world"
 * removeMarkdocTags(''); // ""
 * removeMarkdocTags(undefined); // undefined
 * ```
 */
export declare function removeMarkdocTags(text: string | undefined): string | undefined;
//# sourceMappingURL=remove-markdoc-tags.d.ts.map