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<T>(ref: unknown): ref is React.RefObject<T>;
export declare function getItemType(item: FlashbarProps.MessageDefinition): FlashbarProps.Type;
export declare function getItemColor(item: FlashbarProps.MessageDefinition): string;
export declare function getVisibleCollapsedItems(items: ReadonlyArray<FlashbarProps.MessageDefinition>, desiredLength: number): ReadonlyArray<StackableItem>;
export declare function getFlashTypeCount(items: readonly FlashbarProps.MessageDefinition[]): Record<FlashbarProps.Type, number>;
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 {};
//# sourceMappingURL=utils.d.ts.map