/** @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 { View } from "react-native"; import type { PortalProps, TriggerRef } from "./types"; declare const Root: React.ForwardRefExoticComponent void; delayDuration?: number; skipDelayDuration?: number; disableHoverableContent?: boolean; } & React.RefAttributes>; 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, "ref"> & { asChild?: boolean; } & { onKeyDown?: (ev: React.KeyboardEvent) => void; onKeyUp?: (ev: React.KeyboardEvent) => void; } & { closeOnPress?: boolean; } & React.RefAttributes>; /** * @info `position`, `top`, `left`, and `maxWidth` style properties are controlled internally. Opt out of this behavior on native by setting `disablePositioningStyle` to `true`. */ declare const Content: React.ForwardRefExoticComponent & { side?: "top" | "right" | "bottom" | "left"; } & React.RefAttributes>; export { Content, Overlay, Portal, Root, Trigger }; //# sourceMappingURL=tooltip.d.ts.map