
import { PopoverPlacement, PopoverSize, SpacingAlias } from "../types/dist/index.js";
import { UniversalTokensConfig } from "../config/dist/index.js";
import "../tokens/index.js";
import { PopoverProviderProps } from "@ariakit/react";

//#region src/runtime/popoverConfig.d.ts
type PopoverPlacementMap = Record<PopoverPlacement, PopoverProviderProps['placement']>;
interface UDSPopoverConfigContextType {
  animationDuration: number;
  borderRadius: Record<PopoverSize, number>;
  placementMap: PopoverPlacementMap;
  placement: PopoverPlacement;
  gap: Record<PopoverSize, SpacingAlias>;
  spacingHorizontal: Record<PopoverSize, SpacingAlias>;
  spacingVertical: Record<PopoverSize, SpacingAlias>;
  dismissButtonSpacing: Record<PopoverSize, SpacingAlias>;
  dismissIconSize: Record<PopoverSize, number>;
}
declare const configToPopoverConfigContext: ({
  popover,
  scaleMode
}: UniversalTokensConfig) => UDSPopoverConfigContextType;
//#endregion
export { type UDSPopoverConfigContextType, configToPopoverConfigContext };