import type { CSSValueWithLength } from '../../styles'; import type { StackProps as NewStackProps } from './Stack'; import type { StackProps as LegacyStackProps } from './types'; export type HorizontalAlignment = 'stretch' | 'leading' | 'trailing' | 'center'; export type VerticalAlignment = 'stretch' | 'top' | 'bottom' | 'center'; export interface OldVStackProps extends LegacyStackProps { /** @deprecated align을 대신 사용해주세요. */ alignment?: HorizontalAlignment; /** @deprecated gap 또는 justify를 대신 사용해주세요. */ spacing?: CSSValueWithLength; } export interface OldHStackProps extends LegacyStackProps { /** @deprecated align을 대신 사용해주세요. */ alignment?: VerticalAlignment; /** @deprecated gap 또는 justify를 대신 사용해주세요. */ spacing?: CSSValueWithLength; } export declare function convertOldVStackProps({ alignment, spacing, ...props }: OldVStackProps): NewStackProps; export declare function convertOldHStackProps({ alignment, spacing, ...props }: OldHStackProps): NewStackProps;