import type { StackToolbarSpacerProps } from './types'; import type { NativeStackHeaderItemSpacing } from '../../../../react-navigation/native-stack'; export type { StackToolbarSpacerProps, NativeToolbarSpacerProps } from './types'; /** * A spacing helper used inside `Stack.Toolbar` to create empty space between toolbar items. * * In left/right placements, width is required. * In bottom placement, if width is not provided, creates a flexible spacer that expands to fill space. * * > **Note:** Flexible spacers are iOS-only. On Android, `width` is a required property * * @example * ```tsx * import { Stack } from 'expo-router'; * * export default function Page() { * return ( * <> * * * * * * * * ); * } * ``` * * @example * ```tsx * import { Stack } from 'expo-router'; * * export default function Page() { * return ( * <> * * * * * * * * ); * } * ``` * * @platform android * @platform ios */ export declare const StackToolbarSpacer: React.FC; export declare function convertStackToolbarSpacerPropsToRNHeaderItem(props: StackToolbarSpacerProps): NativeStackHeaderItemSpacing | undefined; //# sourceMappingURL=index.d.ts.map