
"use client";
import { PopoverPlacement, PopoverSize, PopoverVariant, SpacingAlias } from "../../../types/dist/index.js";
import { UDSPopoverConfigContextType } from "../../../runtime/popoverConfig.js";
import { PropsWithChildren } from "react";
import * as _$react_jsx_runtime0 from "react/jsx-runtime";

//#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(sizeProp?: PopoverSize | undefined, variantProp?: PopoverVariant | undefined, options?: {
  placement?: PopoverPlacement;
}): {
  size: "default";
  variant: "default";
  borderRadius: number;
  spacingHorizontal: SpacingAlias;
  spacingVertical: SpacingAlias;
  gap: SpacingAlias;
  dismissButtonSpacing: SpacingAlias;
  dismissIconSize: number;
  ariaKitPlacement: ("top-start" | "top-end" | "bottom-start" | "bottom-end" | ("top" | "bottom" | "left" | "right") | "left-start" | "right-start" | "left-end" | "right-end") | undefined;
  animationDuration: number;
};
//#endregion
export { type UDSPopoverConfigContextType, UDSPopoverConfigProvider, type UDSPopoverConfigProviderProps, usePopoverConfig };