import type { FunctionComponent, ReactElement } from 'react'; import type { ForwardProps } from '@pega/cosmos-react-core'; interface MentionButtonProps { /** Text for the button, or an object containing all necessary props. */ children: Record | ReactElement; /** The id of the mention. */ id?: string; /** The text of the mention button. */ text?: string; /** Designates the type of the mention for proper handling on click. */ type?: string; /** If an href is provided, render a link. Otherwise, render a button. */ href?: string; } declare const MentionButton: FunctionComponent; export declare const MentionButtonConfig: { type: string; xmlElement: string; regexPattern: RegExp; component: FunctionComponent; inject: ({ id, type, text, href }: { id: string; type: string; text: string; href?: string; }) => string | undefined; extract: (element: string) => { id: string; text: string; type: string; href: string; } | undefined; }; export default MentionButton; //# sourceMappingURL=MentionButton.d.ts.map