import React from 'react'; import type { LabelProps } from '@gravity-ui/uikit'; import { EFlag } from '../../types/api/enums'; import './EntityStatus.scss'; export declare const EFlagToLabelTheme: Record; interface EntityStatusLabelBaseProps { status: EFlag; className?: string; size?: LabelProps['size']; iconSize?: number; qa?: string; } interface DefaultEntityStatusLabelProps { view?: 'default'; note?: React.ReactNode; children?: React.ReactNode; endContent?: React.ReactNode; withStatusName?: boolean; onClick?: (event: React.MouseEvent) => void; } interface CompactEntityStatusLabelProps { view: 'compact'; note?: never; children?: never; endContent?: never; withStatusName?: never; onClick?: never; } type EntityStatusLabelProps = EntityStatusLabelBaseProps & (DefaultEntityStatusLabelProps | CompactEntityStatusLabelProps); declare function EntityStatusLabel({ children, className, endContent, status, withStatusName, view, note, size, iconSize, onClick, qa, }: EntityStatusLabelProps): import("react/jsx-runtime").JSX.Element; interface EntityStatusProps { children?: React.ReactNode; className?: string; } export declare function EntityStatus({ className, children }: EntityStatusProps): import("react/jsx-runtime").JSX.Element; export declare namespace EntityStatus { var Label: typeof EntityStatusLabel; var displayName: string; } export {};