import React from 'react';
import type { LegacyStylableProps } from '~/types/component';
import type { SpacerProps } from './types';
/**
* The spacer component is used to create wrapper divs with the specified
* margins and padding. Allowed values for margins and padding map directly to
* tokens.global.spaceX values.
*
* @example
*
* ...
*
*/
export declare const Spacer: React.NamedExoticComponent;
/** @deprecated use `Spacer` with `className` and css modules instead. */
export declare const SpacerWithCss: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute> & string & Omit, keyof React.Component>;