import * as React from "react"; export type Attach = "left" | "right" | "top" | "bottom"; export type Align = "start" | "middle" | "end"; export interface UsePositionedLayerOptions { target: Element; attach: Attach; align: Align; offset: number; } /** * Return a set of CSS style properties to position an element next to the * given `targetRef`. */ export declare function usePositionedLayer(options: UsePositionedLayerOptions, targetRef: React.RefObject): React.CSSProperties; export interface PositionedLayerProps extends UsePositionedLayerOptions, React.HTMLAttributes { children: React.ReactNode; } export declare const PositionedLayer: React.ForwardRefExoticComponent>; //# sourceMappingURL=PositionedLayer.d.ts.map