/** * @license EUPL-1.2 * Copyright (c) 2020-2024 Frameless B.V. * Copyright (c) 2021-2024 Gemeente Utrecht */ import { HTMLAttributes, ReactNode } from 'react'; export declare const ROLES: readonly ["status", "alert"]; export type AlertRole = (typeof ROLES)[number]; export declare const isAlertRole: (x: unknown) => x is "status" | "alert"; export declare const TYPES: readonly ["error", "warning", "info", "ok"]; export type AlertType = (typeof TYPES)[number]; export declare const isAlertType: (x: unknown) => x is "error" | "warning" | "info" | "ok"; export interface AlertProps extends HTMLAttributes { icon?: ReactNode; type?: string | AlertType; role?: string | AlertRole; } export declare const Alert: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=Alert.d.ts.map