import React from 'react'; import { type WithIntlProps, type WrappedComponentProps } from 'react-intl'; import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types'; import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin'; import type { EditorView } from '@atlaskit/editor-prosemirror/view'; import type { ColorType as Color } from '@atlaskit/status/status-picker'; import type { StatusPlugin } from '../statusPluginType'; import type { ClosingPayload, StatusType } from '../types'; import type { SuggestedStatus } from './getSuggestedStatuses'; export declare enum InputMethod { blur = "blur", escKey = "escKey", enterKey = "enterKey" } export declare enum closingMethods { ArrowLeft = "arrowLeft", ArrowRight = "arrowRight" } export interface Props { api?: ExtractInjectionAPI; boundariesElement?: HTMLElement; closeStatusPicker: (closingPayload?: ClosingPayload) => void; createAnalyticsEvent?: CreateUIAnalyticsEvent; defaultColor?: Color; defaultLocalId?: string; defaultText?: string; editorView: EditorView; focusStatusInput?: boolean; intl: WrappedComponentProps['intl']; isNew?: boolean; mountTo?: HTMLElement; onEnter: (status: StatusType) => void; onSelect: (status: StatusType) => void; onSuggestedStatusClick: (status: StatusType) => void; onTextChanged: (status: StatusType, isNew: boolean) => void; scrollableElement?: HTMLElement; suggestedStatuses?: SuggestedStatus[]; target: HTMLElement | null; } export interface State { color: Color; isNew?: boolean; localId?: string; text: string; } export declare const StatusPickerWithoutAnalytcs: React.FC> & { WrappedComponent: React.ComponentType; }; declare const _default_1: React.ForwardRefExoticComponent & { forwardedRef?: React.Ref; }, keyof WithAnalyticsEventsProps> & React.RefAttributes>; export default _default_1;