/** @jsxImportSource nativewind */ /** * Source code copied and adapted from: * https://github.com/roninoss/rn-primitives * License: MIT (c) 2024 RoninOSS */ import * as React from "react"; import { Text, View } from "react-native"; import type { PortalProps, RootContext } from "./types"; declare const Root: React.ForwardRefExoticComponent<{ open?: boolean; onOpenChange?: (value: boolean) => void; defaultOpen?: boolean; } & import("react-native").ViewProps & { asChild?: boolean; } & React.RefAttributes>; declare function useRootContext(): RootContext & { nativeID: string; }; declare const Trigger: React.ForwardRefExoticComponent, "ref"> & { asChild?: boolean; } & { onKeyDown?: (ev: React.KeyboardEvent) => void; onKeyUp?: (ev: React.KeyboardEvent) => void; } & React.RefAttributes>; /** * @warning when using a custom ``, you might have to adjust the Content's sideOffset to account for nav elements like headers. */ declare function Portal({ forceMount, hostName, children }: PortalProps): import("react/jsx-runtime").JSX.Element | null; declare const Overlay: React.ForwardRefExoticComponent>; declare const Content: React.ForwardRefExoticComponent void; onCloseAutoFocus?: (ev: Event) => void; onEscapeKeyDown?: (ev: Event) => void; } & React.RefAttributes>; declare const Cancel: React.ForwardRefExoticComponent, "ref"> & { asChild?: boolean; } & { onKeyDown?: (ev: React.KeyboardEvent) => void; onKeyUp?: (ev: React.KeyboardEvent) => void; } & React.RefAttributes>; declare const Action: React.ForwardRefExoticComponent, "ref"> & { asChild?: boolean; } & { onKeyDown?: (ev: React.KeyboardEvent) => void; onKeyUp?: (ev: React.KeyboardEvent) => void; } & React.RefAttributes>; declare const Title: React.ForwardRefExoticComponent>; declare const Description: React.ForwardRefExoticComponent>; export { Action, Cancel, Content, Description, Overlay, Portal, Root, Title, Trigger, useRootContext, }; //# sourceMappingURL=alert-dialog.d.ts.map