import { ViewStyle, DimensionValue } from 'react-native'; export interface LayoutProps { /** Makes the component fill the full width of its parent */ fullWidth?: boolean; /** Sets a specific width */ w?: DimensionValue; /** Sets a specific height */ h?: DimensionValue; /** Sets the maximum width */ maxW?: DimensionValue; /** Sets the minimum width */ minW?: DimensionValue; /** Sets the maximum height */ maxH?: DimensionValue; /** Sets the minimum height */ minH?: DimensionValue; } /** * Generates layout styles based on provided layout properties. * * @param props - The layout properties object * @param props.fullWidth - When true, sets width to 100% * @param props.w - Width property (overrides fullWidth) * @param props.h - Height value * @param props.maxW - Maximum width constraint * @param props.minW - Minimum width constraint * @param props.maxH - Maximum height constraint * @param props.minH - Minimum height constraint * * @returns A partial ViewStyle object containing the computed layout styles * * @remarks * Property precedence for width: w > fullWidth * The function processes width properties in order of specificity, with more specific * properties overriding more general ones. */ export declare function getLayoutStyles(props: LayoutProps): Partial; export declare function extractLayoutProps(props: T): { layoutProps: LayoutProps; otherProps: Omit; };