import React from 'react'; import { IconProps } from '../icon/interfaces'; import { FlashbarProps } from './interfaces'; export declare const FOCUS_DEBOUNCE_DELAY = 500; export interface StackableItem extends FlashbarProps.MessageDefinition { expandedIndex: number; collapsedIndex?: number; } export declare function isStackableItem(item: StackableItem | FlashbarProps.MessageDefinition): item is StackableItem; export declare function isRefObject(ref: unknown): ref is React.RefObject; export declare function getItemType(item: FlashbarProps.MessageDefinition): FlashbarProps.Type; export declare function getItemColor(item: FlashbarProps.MessageDefinition): string; export declare function getVisibleCollapsedItems(items: ReadonlyArray, desiredLength: number): ReadonlyArray; export declare function getFlashTypeCount(items: readonly FlashbarProps.MessageDefinition[]): Record; type LabelName = 'errorIconAriaLabel' | 'warningIconAriaLabel' | 'successIconAriaLabel' | 'infoIconAriaLabel' | 'inProgressIconAriaLabel'; export declare function getStylePropertyKey(type: FlashbarProps.Type): string; export declare const counterTypes: { type: FlashbarProps.Type; labelName: LabelName; iconName: IconProps.Name; }[]; export {};