import { Options as DetectOverflowOptions } from '../detectOverflow'; import type { Derivable, Middleware, MiddlewareState } from '../types'; export type SizeOptions = Partial; }>; /** * Provides data that allows you to change the size of the floating element — * for instance, prevent it from overflowing the clipping boundary or match the * width of the reference element. * @see https://floating-ui.com/docs/size */ export declare const size: (options?: SizeOptions | Derivable) => Middleware;