UNPKG

1.73 kBTypeScriptView Raw
1import { type ConditionalValue, type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
2interface StatusProps {
3 status: ConditionalValue<"info" | "warning" | "success" | "error" | "neutral">;
4}
5export declare const AlertStatusProvider: import("react").Provider<StatusProps>, useAlertStatusContext: () => StatusProps;
6declare const useAlertStyles: () => Record<string, import("../..").SystemStyleObject>;
7export { useAlertStyles };
8export interface AlertRootBaseProps extends SlotRecipeProps<"alert">, UnstyledProp {
9}
10export interface AlertRootProps extends HTMLChakraProps<"div", AlertRootBaseProps> {
11}
12export declare const AlertRoot: import("react").ForwardRefExoticComponent<AlertRootProps & import("react").RefAttributes<HTMLDivElement>>;
13export declare const AlertPropsProvider: React.Provider<AlertRootBaseProps>;
14export interface AlertTitleProps extends HTMLChakraProps<"div"> {
15}
16export declare const AlertTitle: import("react").ForwardRefExoticComponent<AlertTitleProps & import("react").RefAttributes<HTMLDivElement>>;
17export interface AlertDescriptionProps extends HTMLChakraProps<"div"> {
18}
19export declare const AlertDescription: import("react").ForwardRefExoticComponent<AlertDescriptionProps & import("react").RefAttributes<HTMLDivElement>>;
20export interface AlertContentProps extends HTMLChakraProps<"div"> {
21}
22export declare const AlertContent: import("react").ForwardRefExoticComponent<AlertContentProps & import("react").RefAttributes<HTMLDivElement>>;
23export interface AlertIndicatorProps extends HTMLChakraProps<"span"> {
24}
25export declare const AlertIndicator: import("react").ForwardRefExoticComponent<AlertIndicatorProps & import("react").RefAttributes<SVGSVGElement>>;