/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ import { ComponentProps, RefAttributes } from 'react'; import { CrossedMethods } from '@crossed/styled'; import { View } from 'react-native'; import { Floating } from './Floating'; import { Placement } from '@floating-ui/react'; export type PopoverConfigContext = { showSheet?: boolean; triggerStrategy: 'onPointerEnter' | 'onPress'; }; export declare const PopoverConfigProvider: (props: PopoverConfigContext & { children: React.ReactNode; }) => import("react/jsx-runtime").JSX.Element, usePopoverConfig: () => PopoverConfigContext; type RootProps = ComponentProps & { placement?: Placement; offsetValue?: number; }; export declare const Root: import("react").MemoExoticComponent<({ children, placement, triggerStrategy, offsetValue, ...props }: RootProps) => import("react/jsx-runtime").JSX.Element>; export declare const Trigger: import("react").NamedExoticComponent, "style" | "Comp"> & { style?: CrossedMethods; } & RefAttributes>; export declare const Content: import("react").NamedExoticComponent<{ style?: CrossedMethods; } & { children?: import("react").ReactNode | undefined; } & RefAttributes>; export declare const Popover: import("react").NamedExoticComponent void; portal?: boolean; } & Partial> & RefAttributes & { placement?: Placement; offsetValue?: number; }, "ref"> & { ref?: import("react").Ref; }> & { readonly type: ({ children, placement, triggerStrategy, offsetValue, ...props }: RootProps) => import("react/jsx-runtime").JSX.Element; } & { Trigger: import("react").NamedExoticComponent, "style" | "Comp"> & { style?: CrossedMethods; } & RefAttributes>; Content: import("react").NamedExoticComponent<{ style?: CrossedMethods; } & { children?: import("react").ReactNode | undefined; } & RefAttributes>; }; export {}; //# sourceMappingURL=Popover.d.ts.map