import React from "react"; export interface LinkDetails { text: string; url: string; } interface Props { editable: boolean; onDismiss: () => void; onSave: (newLink: LinkDetails) => void; text: string; url?: string; } interface State { draftUrl: string; draftText: string; } export declare class LinkEditorModal extends React.PureComponent { state: State; componentWillReceiveProps(newProps: Props): void; render(): JSX.Element; private readonly handleSubmit; private readonly handleTextChange; private readonly handleUrlChange; } export {};