import type { ReactNode } from 'react'; import './index.scss'; export interface CalloutProps { type: 'tip' | 'note' | 'warning' | 'caution' | 'danger' | 'info' | 'details'; title?: string; children: ReactNode; } /** * Construct the DOM structure of the container directive. * For example: * * ::: tip {title="foo"} * This is a tip * ::: * * will be transformed to: * *
*
Tip
*
*

This is a tip

*
*
*/ export declare function Callout({ type, title, children }: CalloutProps): ReactNode; export default Callout;