import * as React from 'react'; import { type ViewProps, type ViewStyle } from 'react-native'; import type { ItemProps } from './types'; export interface StackItem extends ItemProps { content?: React.ReactNode; } export interface StackProps extends Omit { /** Items to be rendered in the stack */ items: StackItem[]; /** Whether margin collapsing is enabled */ marginCollapse?: boolean; /** Optional style or style callback for the item wrapper */ itemWrapperStyle?: ViewStyle | ((item: StackItem, index: number) => ViewStyle); } /** * Vertical Stack that supports margin collapsing. */ export declare function VStack({ items, marginCollapse, itemWrapperStyle, ...restProps }: StackProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=stack.d.ts.map