import React from 'react'; import { ContentBlock, ContentState } from 'draft-js'; export interface LinkComponentProps { children: React.ReactNode; contentState: ContentState; entityKey?: string; decoratedText: string; } export declare function LinkComponent({ children, decoratedText, }: LinkComponentProps): JSX.Element; export declare function findLinkEntities(contentBlock: ContentBlock, callback: (start: number, end: number) => void): void; export declare const linkDecorator: { strategy: typeof findLinkEntities; component: typeof LinkComponent; };