import React from 'react';
import { MessageBarProps } from '../../MessageBar/MessageBar';
export interface StationMessage {
    type: MessageBarProps['type'];
    title: MessageBarProps['title'];
    body?: React.ReactNode;
    canClose: boolean;
    onRetry?: MessageBarProps['onRetry'];
}
interface UseStationMessageReturnType {
    readonly StationMessage: JSX.Element;
    readonly stationMessage: StationMessage | undefined;
    readonly setStationMessage: React.Dispatch<React.SetStateAction<StationMessage | undefined>>;
}
export declare const useStationMessage: () => UseStationMessageReturnType;
export {};
//# sourceMappingURL=useStationMessage.d.ts.map