import { ColorValue } from 'react-native';
export declare type ThemedColorValue = {
light: ColorValue;
dark: ColorValue;
};
export declare type Props = {
color: ColorValue | ThemedColorValue;
};
/**
* A stack based component for setting the background color of the root view.
* Useful for changing the background color on certain screens or inside of native modals.
* Updates based on Appearance and AppState.
*
* @example
* ```tsx
* function App() {
* return (
* <>
*
*
* >
* )
* }
* ```
*/
export declare function BackgroundColor(props: Props): null;
export declare namespace BackgroundColor {
var setColor: (color: ThemedColorValue) => void;
var pushStackEntry: (props: Props) => any;
var popStackEntry: (entry: Props) => void;
var replaceStackEntry: (entry: Props, props: Props) => any;
var _updatePropsStack: () => void;
}