You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
1.0 KiB

import { ExpoConfig } from '@expo/config-types';
import { ConfigPlugin } from '../Plugin.types';
import { ResourceXML } from './Resources';
export declare const withStatusBar: ConfigPlugin;
export declare function setStatusBarColors(config: Pick<ExpoConfig, 'androidStatusBar'>, colors: ResourceXML): ResourceXML;
export declare function setStatusBarStyles(config: Pick<ExpoConfig, 'androidStatusBar'>, styles: ResourceXML): ResourceXML;
export declare function getStatusBarColor(config: Pick<ExpoConfig, 'androidStatusBar'>): string | undefined;
/**
* Specifies whether the status bar should be "translucent". When true, the status bar is drawn with `position: absolute` and a gray underlay, when false `position: relative` (pushes content down).
*
* @default false
* @param config
* @returns
*/
export declare function getStatusBarTranslucent(config: Pick<ExpoConfig, 'androidStatusBar'>): boolean;
export declare function getStatusBarStyle(config: Pick<ExpoConfig, 'androidStatusBar'>): "light-content" | "dark-content";