import "./spacer.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "./style_props"; import { type SpaceToken } from "./spacing"; export interface SpacerProps extends StyleProps { /** Fixed air. Left out, the spacer takes whatever room is left. */ size?: SpaceToken; horizontal?: boolean; ref?: React.Ref; render?: useRender.RenderProp; } /** * Empty room between two things. * * Prefer a `gap` on the `Stack` around them: a gap belongs to the layout and * survives a child being removed, while a spacer is a sibling that has to be * removed with it. */ export declare function Spacer({ size, horizontal, render, ref, ...props }: SpacerProps): React.ReactElement>;