import { ReactNode } from 'react';
import { ViewStyle } from 'react-native';

import { StatusBarStyle } from '~/theme';

import { ScreenPresets } from './screen.presets';

export interface ScreenProps {
  // Props
  safe?: boolean;
  componentId: string;
  preset?: ScreenPresets;
  backgroundColor?: string;
  statusBarStyle?: StatusBarStyle;
  // Children
  children: ReactNode;
  // Methods
  onRefresh?: () => Promise<void>;
  // Styles
  style?: ViewStyle;
  outerStyle?: ViewStyle;
}
