import { type RefCallback } from 'react'; import { type EmptyStateFixedSize } from './empty-state-utils.js'; import type { EmptyStateSize } from './types/empty-state-types.js'; /** * `largeResponsive` is the `large` size stacked vertically, used when the * parent is narrower than `_MIN_CONTAINER_WIDTH`. * @internal */ export type EmptyStateLayout = EmptyStateFixedSize | 'largeResponsive'; /** * Resolves `size` against the width of the parent element of the element the * returned `ref` is attached to. The parent is only observed for `large` and * `auto`. `maxSize` caps the size `auto` resolves to. * @internal */ export declare function useEmptyStateSize(size: EmptyStateSize, maxSize: EmptyStateFixedSize): { ref: RefCallback; size: EmptyStateFixedSize; layout: EmptyStateLayout; }; //# sourceMappingURL=useEmptyStateSize.d.ts.map