import { type ReactNode } from 'react'; import { Text, View, type TextProps, type ViewProps } from 'react-native'; import { type IDialogCloseProps, type IDialogContentProps, type IDialogRootProps, type IDialogTriggerProps } from '@cdx-ui/primitives'; import { type AnimationRootDisableAll } from '../../animation'; import { type DialogTitleVariantProps, type DialogVariantProps } from './styles'; export { useDialog } from '@cdx-ui/primitives'; export interface DialogRootProps extends Omit, IDialogRootProps, DialogVariantProps { className?: string; animation?: AnimationRootDisableAll; } declare const DialogRoot: import("react").ForwardRefExoticComponent>; export interface DialogTriggerProps extends IDialogTriggerProps { className?: string; children?: ReactNode; } declare const DialogTrigger: import("react").ForwardRefExoticComponent>; export interface DialogPopupProps extends Omit, Pick { className?: string; children?: ReactNode; disableFullWindowOverlay?: boolean; isSwipeable?: boolean; } declare const DialogPopup: import("react").ForwardRefExoticComponent>; export interface DialogHeaderProps extends ViewProps { asChild?: boolean; className?: string; children?: ReactNode; } declare const DialogHeader: import("react").ForwardRefExoticComponent>; export type DialogTitleSeverity = 'neutral' | 'danger' | 'warning' | 'success'; /** @deprecated Use `severity` prop instead of `appearance`. */ export type DialogTitleAppearance = 'default' | 'danger' | 'warning' | 'success'; export interface DialogTitleProps extends TextProps, Omit { asChild?: boolean; /** * Severity level that controls the status icon and color treatment. * @default 'neutral' */ severity?: DialogTitleSeverity /** @deprecated Use `'neutral'` instead. */ | 'default'; /** * @deprecated Use `severity` prop instead. */ appearance?: DialogTitleAppearance; className?: string; children?: ReactNode; } declare const DialogTitle: import("react").ForwardRefExoticComponent>; export interface DialogDescriptionProps extends TextProps { asChild?: boolean; className?: string; children?: ReactNode; } declare const DialogDescription: import("react").ForwardRefExoticComponent>; export interface DialogContentProps extends ViewProps { asChild?: boolean; className?: string; children?: ReactNode; } declare const DialogContent: import("react").ForwardRefExoticComponent>; export interface DialogTextProps extends TextProps { asChild?: boolean; className?: string; children?: ReactNode; } declare const DialogText: import("react").ForwardRefExoticComponent>; export interface DialogFooterProps extends ViewProps { asChild?: boolean; className?: string; children?: ReactNode; } declare const DialogFooter: import("react").ForwardRefExoticComponent>; export interface DialogCloseProps extends IDialogCloseProps { className?: string; children?: ReactNode; } declare const DialogClose: import("react").ForwardRefExoticComponent>; type DialogCompoundComponent = typeof DialogRoot & { Trigger: typeof DialogTrigger; Popup: typeof DialogPopup; Header: typeof DialogHeader; Title: typeof DialogTitle; Description: typeof DialogDescription; Content: typeof DialogContent; Text: typeof DialogText; Footer: typeof DialogFooter; Close: typeof DialogClose; }; export declare const Dialog: DialogCompoundComponent; //# sourceMappingURL=index.d.ts.map