import React from "react";
import { Content, ContentMap, Root } from "applesauce-content/nast";
type Component<ComponentProps> = React.FunctionComponent<ComponentProps> | React.ComponentClass;
export type ExtraProps<T extends Content> = {
    node: T;
};
export type ComponentMap = Partial<{
    [k in keyof ContentMap]: Component<ExtraProps<ContentMap[k]>>;
}>;
/** Render a nostr syntax tree to JSX components */
export declare function renderNast(root: Root, components: ComponentMap): import("react/jsx-runtime").JSX.Element;
export {};
