import * as React from "react"; import type { AlertVariantProp, ToneProp } from "../../props/vocabulary/index.js"; import type { AlertQueryErrorProp } from "../../props/components/feedback.prop.js"; export type { AlertProp, AlertProp as AlertProps, AlertTitleProp, AlertTitleProp as AlertTitleProps, AlertContentProp, AlertContentProp as AlertContentProps, AlertDescriptionProp, AlertDescriptionProp as AlertDescriptionProps, AlertActionsProp, AlertActionsProp as AlertActionsProps, AlertQueryErrorProp, AlertQueryErrorProp as AlertQueryErrorProps, } from "../../props/components/feedback.prop.js"; declare const AlertBase: React.ForwardRefExoticComponent & { variant?: AlertVariantProp; tone?: ToneProp; icon?: import("../../props/index.js").IconProp | false; onDismiss?: import("../../props/index.js").HandlerProp; className?: import("../../props/index.js").ClassNameProp; children?: import("../../props/index.js").ChildrenProp; } & React.RefAttributes>; export declare const AlertTitle: React.ForwardRefExoticComponent & { className?: import("../../props/index.js").ClassNameProp; children?: import("../../props/index.js").ChildrenProp; } & React.RefAttributes>; export declare const AlertContent: React.ForwardRefExoticComponent & { className?: import("../../props/index.js").ClassNameProp; children?: import("../../props/index.js").ChildrenProp; } & React.RefAttributes>; export declare const AlertDescription: React.ForwardRefExoticComponent & { className?: import("../../props/index.js").ClassNameProp; children?: import("../../props/index.js").ChildrenProp; } & React.RefAttributes>; export declare const AlertActions: React.ForwardRefExoticComponent & { className?: import("../../props/index.js").ClassNameProp; children?: import("../../props/index.js").ChildrenProp; } & React.RefAttributes>; /** * TanStack Query / API failure preset used by `DataState` (@godxjp/ui/query). * * - **Cause-aware mode** (pass `category`, as `DataState` does): presents a safe, localized message * — never the raw backend/token/stack text — with a cause-appropriate action. `auth` * (401/expired) offers session renewal (`onAuthAction`) instead of Retry; transient/network/5xx * offer Retry (`onRetry`); permission/not-found/validation offer neither by default. * - **Legacy mode** (no `category`, e.g. mutation/infinite feedback): shows the cleaned domain * message (`humanError`) + optional Retry — form-submit corrective guidance stays visible. */ export declare function AlertQueryError({ error, category, onRetry, onAuthAction, className, }: AlertQueryErrorProp): React.JSX.Element; export declare const Alert: React.ForwardRefExoticComponent & { variant?: AlertVariantProp; tone?: ToneProp; icon?: import("../../props/index.js").IconProp | false; onDismiss?: import("../../props/index.js").HandlerProp; className?: import("../../props/index.js").ClassNameProp; children?: import("../../props/index.js").ChildrenProp; } & React.RefAttributes> & { Title: React.ForwardRefExoticComponent & { className?: import("../../props/index.js").ClassNameProp; children?: import("../../props/index.js").ChildrenProp; } & React.RefAttributes>; Content: React.ForwardRefExoticComponent & { className?: import("../../props/index.js").ClassNameProp; children?: import("../../props/index.js").ChildrenProp; } & React.RefAttributes>; Description: React.ForwardRefExoticComponent & { className?: import("../../props/index.js").ClassNameProp; children?: import("../../props/index.js").ChildrenProp; } & React.RefAttributes>; Actions: React.ForwardRefExoticComponent & { className?: import("../../props/index.js").ClassNameProp; children?: import("../../props/index.js").ChildrenProp; } & React.RefAttributes>; QueryError: typeof AlertQueryError; }; export { AlertBase };