import type { CustomComponents } from '../types';
import type { Root } from 'hast';
import { type JSXContext } from '../processor/transform/mdxish/preprocess-jsx-expressions';
export interface MdxishOpts {
    components?: CustomComponents;
    jsxContext?: JSXContext;
    useTailwind?: boolean;
}
/**
 * Process markdown content with MDX syntax support.
 * Detects and renders custom component tags from the components hash.
 *
 * @see {@link https://github.com/readmeio/rmdx/blob/main/docs/mdxish-flow.md}
 */
export declare function mdxish(mdContent: string, opts?: MdxishOpts): Root;
export default mdxish;
