import React from 'react'; import type { GetEditorState, Helpers, RichContentTheme, SetEditorState, TranslationFunction } from 'wix-rich-content-common'; declare const _default: ({ alignment, Icon, tooltipTextKey, }: { alignment: string; Icon: any; tooltipTextKey: string; }) => { new (props: { getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; } | Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>): { isActive: () => boolean; handleClick: () => void; render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; new (props: { getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }, context: any): { isActive: () => boolean; handleClick: () => void; render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<{ getEditorState: GetEditorState; setEditorState: SetEditorState; alignment?: string | undefined; onClick?: ((alignment: string) => void) | undefined; theme: RichContentTheme; helpers?: Helpers | undefined; isMobile?: boolean | undefined; t: TranslationFunction; tabIndex?: number | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; contextType?: React.Context | undefined; }; export default _default; //# sourceMappingURL=createTextAlignmentButton.d.ts.map