import type { AriaAttributes } from 'react'; import React from 'react'; import PropTypes from 'prop-types'; import type { CommonProps } from '@skbkontur/react-ui/internal/CommonWrapper'; export interface LogotypeProps extends CommonProps, Pick { /** * Логотип Контура * @see [@skbkontur/logos](/#/logos) */ konturLogo: React.ReactElement | null; /** * Логотип продукта * @see [@skbkontur/logos](/#/logos) */ productLogo: React.ReactElement | null; component: React.ComponentType | string; /** * Адрес ссылки */ href: string; /** * Размер логотипа в пикселях. * @default 24 */ size?: number; /** * Наличие виджета с продуктами */ withWidget?: boolean; /** * нажатие по логотипу */ onClick?: React.MouseEventHandler; /** * нажатие по кнопке открытия виджета */ onArrowClick?: React.MouseEventHandler; } export declare class Logotype extends React.Component { static __KONTUR_REACT_UI__: string; static displayName: string; logotypeRef: HTMLDivElement | null; static propTypes: { href: PropTypes.Requireable; size: PropTypes.Requireable; withWidget: PropTypes.Requireable; component: PropTypes.Requireable>; konturLogo: PropTypes.Requireable; productLogo: PropTypes.Requireable; onClick: PropTypes.Requireable<(...args: any[]) => any>; onArrowClick: PropTypes.Requireable<(...args: any[]) => any>; 'aria-label': PropTypes.Requireable; }; static defaultProps: { component: string; href: string; konturLogo: null; productLogo: null; 'aria-label': string; }; private theme; private styles; private emotion; componentDidMount(): void; componentDidUpdate(prevProps: LogotypeProps): void; componentWillUnmount(): void; render(): JSX.Element; private renderMain; private getSize; private renderLogo; private initWidget; }