import { AnchorLinkTargets } from '../AnchorLink';
import { NotificationPanelVariants } from '../NotificationPanel';
export type ServiceMessageRoles = 'alert' | 'region' | 'auto' | 'none';
export interface ServiceMessageProps {
    /** Sets a label for the notification panel. */
    label: string;
    /** String displayed in service-message when expanded */
    info?: string;
    /** String displayed in service-message when expanded, with a smaller font */
    extraInfo?: string;
    /** function that runs on dismiss */
    onDismiss?: () => void;
    /** Allows for dismiss to be an option, also for ServiceMessage with only label as content */
    dismissable?: boolean;
    /** Makes expander be open from start. */
    expanderOpenFromStart?: boolean;
    /** Name that describes a url-link for the user*/
    urlTitle?: string;
    /** Url for further information*/
    url?: string;
    /** Sets target for the anchorlink to the url*/
    target?: AnchorLinkTargets;
    /** Text on close-button in service messages. */
    closeBtnText?: string;
    /** Changes the visual representation. */
    variant?: NotificationPanelVariants;
    /** Sets the role of the service message - default: auto, will decide based on variant */
    messageRole?: ServiceMessageRoles;
    /** Sets the data-testid attribute. */
    testId?: string;
}
declare const ServiceMessage: React.FC<ServiceMessageProps>;
export default ServiceMessage;
