import type { BreakpointKeys } from './breakpoints'; type PicassoSpacingValues = 0 | 0.25 | 0.5 | 0.75 | 1 | 1.5 | 2 | 2.5 | 3; export type Sizes = 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge'; export type SizeType = T; /** * @deprecated [FX-4438] Use {@link PicassoSpacing} or {@link ResponsiveSpacingType} instead **/ export type DeprecatedSpacingType = number | SizeType<'xsmall' | 'small' | 'medium' | 'large' | 'xlarge'>; export type ResponsiveSpacingType = { [key in BreakpointKeys]?: PicassoSpacing; }; export type SpacingType = PicassoSpacing | DeprecatedSpacingType | ResponsiveSpacingType; export declare enum SpacingEnum { xsmall = 0.5, small = 1, medium = 1.5, large = 2, xlarge = 2.5 } type spacingToken = 0 | 1 | 2 | 3 | 4 | 6 | 8 | 10 | 12; declare class PicassoSpacing { #private; /** * Corresponds to token index in https://toptal-core.atlassian.net/wiki/spaces/Base/pages/3217031216/Spacing */ baseTokenIndex: spacingToken; private constructor(); static create(value: PicassoSpacingValues, index: spacingToken): PicassoSpacing; /** * @deprecated [FX-4713] Use "baseTokenIndex" property directly */ indexOf(): spacingToken; valueOf(): PicassoSpacingValues; toString(): string; } export type { PicassoSpacing }; export declare const isPicassoSpacing: (spacing: SpacingType) => spacing is PicassoSpacing; export declare const isResponsiveSpacing: (spacing: SpacingType) => spacing is ResponsiveSpacingType; export declare const SPACING_0: PicassoSpacing; export declare const SPACING_1: PicassoSpacing; export declare const SPACING_2: PicassoSpacing; export declare const SPACING_3: PicassoSpacing; export declare const SPACING_4: PicassoSpacing; export declare const SPACING_6: PicassoSpacing; export declare const SPACING_8: PicassoSpacing; export declare const SPACING_10: PicassoSpacing; export declare const SPACING_12: PicassoSpacing; declare const _default: Record; export default _default; //# sourceMappingURL=spacings.d.ts.map