import type { ForwardRefComponent } from '@fluentui/react-utilities'; import { MessageBarActionsContextValues } from '@fluentui/react-message-bar'; import { MessageBarActionsProps } from '@fluentui/react-message-bar'; import { MessageBarActionsSlots } from '@fluentui/react-message-bar'; import type { MessageBarActionsState as MessageBarActionsState_2 } from '@fluentui/react-message-bar'; import type { MessageBarBaseState } from '@fluentui/react-message-bar'; import { MessageBarBodyContextValues } from '@fluentui/react-message-bar'; import { MessageBarBodyProps } from '@fluentui/react-message-bar'; import { MessageBarBodySlots } from '@fluentui/react-message-bar'; import { MessageBarBodyState } from '@fluentui/react-message-bar'; import { MessageBarContextValues } from '@fluentui/react-message-bar'; import { MessageBarIntent } from '@fluentui/react-message-bar'; import { MessageBarBaseProps as MessageBarProps } from '@fluentui/react-message-bar'; import { MessageBarSlots } from '@fluentui/react-message-bar'; import { MessageBarTitleProps } from '@fluentui/react-message-bar'; import { MessageBarTitleSlots } from '@fluentui/react-message-bar'; import { MessageBarTitleState } from '@fluentui/react-message-bar'; import type * as React_2 from 'react'; import { renderMessageBar_unstable as renderMessageBar } from '@fluentui/react-message-bar'; import { renderMessageBarActions_unstable as renderMessageBarActions } from '@fluentui/react-message-bar'; import { renderMessageBarBody_unstable as renderMessageBarBody } from '@fluentui/react-message-bar'; import { renderMessageBarTitle_unstable as renderMessageBarTitle } from '@fluentui/react-message-bar'; import { useMessageBarActionsContextValue_unstable as useMessageBarActionsContextValues } from '@fluentui/react-message-bar'; import { useMessageBarBodyContextValues_unstable as useMessageBarBodyContextValues } from '@fluentui/react-message-bar'; import { useMessageBarContext } from '@fluentui/react-message-bar'; /** * Represents a message container with optional icon, body, title, and actions regions. */ export declare const MessageBar: ForwardRefComponent; /** * Represents the actions region of a MessageBar. */ export declare const MessageBarActions: ForwardRefComponent; export { MessageBarActionsContextValues } export { MessageBarActionsProps } export { MessageBarActionsSlots } export declare type MessageBarActionsState = MessageBarActionsState_2 & { root: { /** * Data attribute reflecting the computed layout. Value is 'singleline' or 'multiline'. */ 'data-layout'?: string; /** * Data attribute set when actions content is present. */ 'data-has-actions'?: string; }; }; /** * Represents the content region of a MessageBar. */ export declare const MessageBarBody: ForwardRefComponent; export { MessageBarBodyContextValues } export { MessageBarBodyProps } export { MessageBarBodySlots } export { MessageBarBodyState } export { MessageBarContextValues } export { MessageBarIntent } export { MessageBarProps } export { MessageBarSlots } export declare type MessageBarState = MessageBarBaseState & { root: { /** * Data attribute reflecting the computed layout. Value is 'singleline' or 'multiline'. */ 'data-layout'?: string; /** * Data attribute reflecting the current intent. */ 'data-intent'?: string; }; }; /** * Represents the title region of a MessageBar. */ export declare const MessageBarTitle: ForwardRefComponent; export { MessageBarTitleProps } export { MessageBarTitleSlots } export { MessageBarTitleState } export { renderMessageBar } export { renderMessageBarActions } export { renderMessageBarBody } export { renderMessageBarTitle } /** * Returns the state for a MessageBar component, given its props and ref. * The returned state can be modified with hooks before being passed to `renderMessageBar`. */ export declare const useMessageBar: (props: MessageBarProps, ref: React_2.Ref) => MessageBarState; /** * Returns the state for a MessageBarActions component, given its props and ref. * The returned state can be modified with hooks before being passed to `renderMessageBarActions`. */ export declare const useMessageBarActions: (props: MessageBarActionsProps, ref: React_2.Ref) => MessageBarActionsState; export { useMessageBarActionsContextValues } /** * Returns the state for a MessageBarBody component, given its props and ref. * The returned state can be modified with hooks before being passed to `renderMessageBarBody`. */ export declare const useMessageBarBody: (props: MessageBarBodyProps, ref: React_2.Ref) => MessageBarBodyState; export { useMessageBarBodyContextValues } export { useMessageBarContext } /** * Maps MessageBar state to the context values passed down to child components. */ export declare const useMessageBarContextValues: (state: MessageBarState) => MessageBarContextValues; /** * Returns the state for a MessageBarTitle component, given its props and ref. * The returned state can be modified with hooks before being passed to `renderMessageBarTitle`. */ export declare const useMessageBarTitle: (props: MessageBarTitleProps, ref: React_2.Ref) => MessageBarTitleState; export { }