
import { PopoverPlacement } from "../../../types/dist/index.js";
import { UDSPopoverConfigContextType } from "../../../runtime/popoverConfig.js";
import { PropsWithChildren } from "react";
import * as react_jsx_runtime0 from "react/jsx-runtime";
import { PopoverProviderProps } from "@ariakit/react";

//#region src/components/client/Popover/UDSPopoverConfigProvider.d.ts
interface UDSPopoverConfigProviderProps extends PropsWithChildren {
  value: UDSPopoverConfigContextType | {
    type: 'merge';
    value: Partial<UDSPopoverConfigContextType>;
  };
}
declare const UDSPopoverConfigProvider: {
  ({
    children,
    value
  }: UDSPopoverConfigProviderProps): react_jsx_runtime0.JSX.Element;
  displayName: string;
};
declare function usePopoverConfig(options?: {
  placement?: PopoverPlacement;
}): Omit<UDSPopoverConfigContextType, 'placementMap' | 'placement'> & {
  ariaKitPlacement: PopoverProviderProps['placement'];
};
//#endregion
export { type UDSPopoverConfigContextType, UDSPopoverConfigProvider, type UDSPopoverConfigProviderProps, usePopoverConfig };