export declare type SlackSpec = {} | string;
declare type Props
= {
children?: unknown;
} & P;
export declare type FC
= (props: Props
) => R;
export declare const render: (rootElement: Promise) => Promise;
export declare namespace slack {
const h: (node: FC<{}, any>, props: Props<{}>, ...children: any[]) => Promise;
const Fragment: ({ children }: {
children: any;
}) => JSX.Element;
namespace JSX {
type Element = any;
interface ElementAttributesProperty {
props: {};
}
interface ElementChildrenAttribute {
children: {};
}
}
}
export * from './components';
export { renderMarkdown } from './renderMarkdown';