import React from "react";
type HasChildren = {
    children: React.ReactElement | React.ReactText | React.ReactPortal;
};
export type PropsLike = Record<string, unknown>;
type RenderableWithProps<RenderProps extends PropsLike> = {
    render: React.FC<RenderProps>;
    props: RenderProps;
};
type RenderableNoProps = {
    render: React.FC;
};
export type DemoProps<RenderProps extends PropsLike> = (HasChildren | RenderableNoProps | RenderableWithProps<RenderProps>) & {
    source?: string;
};
export declare function Demo<RenderProps extends PropsLike>(props: DemoProps<RenderProps>): JSX.Element | null;
export {};
