import React from 'react'; export type HorizontalPosition = 'left-bottom' | 'left-top' | 'right-bottom' | 'right-top' | 'left' | 'right'; export type VerticalPosition = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'top' | 'bottom'; export type PositionType = HorizontalPosition | VerticalPosition | 'cover'; export interface PositionStyleConfig { position: PositionType | undefined; absolute: boolean; show: boolean; parentElRef: React.RefObject; popupElRef: React.RefObject; scrollElRef?: React.RefObject; getContainer: () => HTMLElement | null | undefined; zIndex?: number; popupGap?: number; fixedWidth?: boolean | 'min'; updateKey?: number | string; adjust?: boolean; onAdjust?: (position: HorizontalPosition | VerticalPosition) => void; checkPosition?: boolean; offset?: [number, number]; boundary?: () => HTMLElement | null; setSizingStyle?: (v?: React.CSSProperties) => void; } export declare const usePositionStyle: (config: PositionStyleConfig) => { style: React.CSSProperties; }; export default usePositionStyle; //# sourceMappingURL=index.d.ts.map