import type { ComponentType, PropsWithChildren, ReactNode } from "react"; import { type IAlertProps } from "./Alert"; export type IWarningAlertProps = IAlertProps; export type WarningAlertComponent = ComponentType; export type IUseWarningAlertProps = PropsWithChildren & { Component?: WarningAlertComponent; }; export interface IUseWarningAlertResult { warningAlert: ReactNode; setWarningAlert: (alert?: ReactNode) => void; } export type IUseWarningAlert = (props?: UseWarningAlertProps) => IUseWarningAlertResult; export declare const WarningAlert: WarningAlertComponent; export declare function useWarningAlert({ Component, ...props }?: UseWarningAlertProps): IUseWarningAlertResult;