import React from "react"; export interface ICommandRenderOptions { selectedIndex: number; content: string; apply: () => void; } export interface ICommandPluginProps { trigger: string; length: number; onEnter?: (index: number) => void; render?: (options: ICommandRenderOptions) => React.ReactNode; } declare function CommandPlugin(props: ICommandPluginProps): React.ReactElement; declare namespace CommandPlugin { var displayName: string; } export { CommandPlugin };