import { ButtonAsButtonProps, IconElement } from '@wix/design-system'; import React from 'react'; import { ToolbarResponsivePriorityState } from '../../state/Toolbar/ToolbarResponsivePriorityState'; export type ResponsiveButtonProps = ButtonAsButtonProps<{ dataHook?: string; icon?: IconElement; state: ToolbarResponsivePriorityState; shouldShrink?: boolean; }>; export declare const ResponsiveButton: React.MemoExoticComponent & { dataHook?: string | undefined; icon?: IconElement | undefined; state: ToolbarResponsivePriorityState; shouldShrink?: boolean | undefined; } & { as?: "button" | undefined; onClick?: React.MouseEventHandler | undefined; } & React.RefAttributes<{ button: React.RefObject; focus: (options?: FocusOptions | undefined) => void; getBoundingClientRect: () => DOMRect | undefined; render(): React.JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; }>, "dataHook" | keyof React.ButtonHTMLAttributes | "as" | "state" | "key" | "icon" | "shouldShrink"> & React.RefAttributes<{ button: React.RefObject; focus: (options?: FocusOptions | undefined) => void; getBoundingClientRect: () => DOMRect | undefined; render(): React.JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; }>>>; //# sourceMappingURL=ResponsiveButton.d.ts.map