import { Component } from 'react'; interface State { compact: boolean; text: string; emoji: string; color: string; } interface Props { onConfirm: (comment: { text: string; emoji: string; color?: string; }) => void; onOpen: () => void; onUpdate?: () => void; onColorChange?: (color: string) => void; openOnSelection?: boolean; } export declare class Tip extends Component { state: State; componentDidMount(): void; componentDidUpdate(prevProps: Props, nextState: State): void; openEditor(): void; render(): import("react/jsx-runtime").JSX.Element; } export {};