import { Root } from 'hast';

interface CustomComponentOptions {
    tagName?: string;
    matchName?: string;
}
declare function rehypeCustomComponent({ tagName, matchName, }?: CustomComponentOptions): (tree: Root) => void;

export { type CustomComponentOptions, rehypeCustomComponent as default };
