import type { ForwardRefComponent } from '@fluentui/react-utilities'; import { JSXElement } from '@fluentui/react-utilities'; import { MessageBarActionsContextValues as MessageBarActionsContextValues_2 } from '@fluentui/react-message-bar'; import type { MessageBarActionsProps as MessageBarActionsProps_2 } from '@fluentui/react-message-bar'; import type { MessageBarActionsSlots as MessageBarActionsSlots_2 } from '@fluentui/react-message-bar'; import { MessageBarActionsState as MessageBarActionsState_2 } from '@fluentui/react-message-bar'; import type { MessageBarBaseProps } from '@fluentui/react-message-bar'; import { MessageBarBaseState } from '@fluentui/react-message-bar'; import { MessageBarBodyContextValues as MessageBarBodyContextValues_2 } from '@fluentui/react-message-bar'; import type { MessageBarBodyProps as MessageBarBodyProps_2 } from '@fluentui/react-message-bar'; import type { MessageBarBodySlots as MessageBarBodySlots_2 } from '@fluentui/react-message-bar'; import { MessageBarBodyState as MessageBarBodyState_2 } from '@fluentui/react-message-bar'; import { MessageBarContextValue } from '@fluentui/react-message-bar'; import { MessageBarContextValues as MessageBarContextValues_2 } from '@fluentui/react-message-bar'; import type { MessageBarIntent } from '@fluentui/react-message-bar'; import type { MessageBarSlots as MessageBarSlots_2 } from '@fluentui/react-message-bar'; import type { MessageBarTitleProps as MessageBarTitleProps_2 } from '@fluentui/react-message-bar'; import type { MessageBarTitleSlots as MessageBarTitleSlots_2 } from '@fluentui/react-message-bar'; import { MessageBarTitleState as MessageBarTitleState_2 } from '@fluentui/react-message-bar'; import type * as React_2 from 'react'; import { useMessageBarBodyContextValues_unstable } 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 declare type MessageBarActionsContextValues = MessageBarActionsContextValues_2; export declare type MessageBarActionsProps = MessageBarActionsProps_2; export declare type MessageBarActionsSlots = MessageBarActionsSlots_2; 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 declare type MessageBarBodyContextValues = MessageBarBodyContextValues_2; export declare type MessageBarBodyProps = MessageBarBodyProps_2; export declare type MessageBarBodySlots = MessageBarBodySlots_2; export declare type MessageBarBodyState = MessageBarBodyState_2; export declare type MessageBarContextValues = MessageBarContextValues_2; export { MessageBarIntent } export declare type MessageBarProps = MessageBarBaseProps; export declare type MessageBarSlots = MessageBarSlots_2; 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 declare type MessageBarTitleProps = MessageBarTitleProps_2; export declare type MessageBarTitleSlots = MessageBarTitleSlots_2; export declare type MessageBarTitleState = MessageBarTitleState_2; /** * Renders the final JSX of the MessageBar component, given the state and context values. */ export declare const renderMessageBar: (state: MessageBarBaseState, contexts: MessageBarContextValues_2) => JSXElement; /** * Renders the final JSX of the MessageBarActions component, given the state and context values. */ export declare const renderMessageBarActions: (state: MessageBarActionsState_2, contexts: MessageBarActionsContextValues_2) => JSXElement; /** * Renders the final JSX of the MessageBarBody component, given the state and context values. */ export declare const renderMessageBarBody: (state: MessageBarBodyState_2, contextValues: MessageBarBodyContextValues_2) => JSXElement; /** * Renders the final JSX of the MessageBarTitle component, given the state. */ export declare const renderMessageBarTitle: (state: MessageBarTitleState_2) => JSXElement; /** * 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; /** * Returns the context values provided by MessageBarActions to its child buttons. */ export declare const useMessageBarActionsContextValues: () => MessageBarActionsContextValues; /** * 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; /** * Returns the context values provided by MessageBarBody to nested links. */ export declare const useMessageBarBodyContextValues: typeof useMessageBarBodyContextValues_unstable; /** * Returns the context values provided by the nearest MessageBar. */ export declare const useMessageBarContext: () => MessageBarContextValue; /** * 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 { }