import type { CSSValueWithLength } from '../../styles'; import type { StackProps as NewStackProps } from './Stack'; export type HorizontalAlignment = 'stretch' | 'leading' | 'trailing' | 'center'; export type VerticalAlignment = 'stretch' | 'top' | 'bottom' | 'center'; /** HStack·VStack은 방향이 정해져 있어 direction을 받지 않는다. */ type DirectionalStackProps = Omit; export interface OldVStackProps extends DirectionalStackProps { /** @deprecated align을 대신 사용해주세요. */ alignment?: HorizontalAlignment; /** @deprecated gap 또는 justify를 대신 사용해주세요. */ spacing?: CSSValueWithLength; } export interface OldHStackProps extends DirectionalStackProps { /** @deprecated align을 대신 사용해주세요. */ alignment?: VerticalAlignment; /** @deprecated gap 또는 justify를 대신 사용해주세요. */ spacing?: CSSValueWithLength; } export declare function convertOldVStackProps(props: OldVStackProps): NewStackProps; export declare function convertOldHStackProps(props: OldHStackProps): NewStackProps; export {};