/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
/**
* Singleton service designed to store status bar offset configuration.
*
* @type ModalService
*
* @property {boolean} getShouldUseTopInsets - returns `true` if StatusBar additional offset is not enabled,
* returns `false` if StatusBar additional offset is enabled.
*
* @property {boolean} setShouldUseTopInsets - `true` value enables StatusBar additional offset,
* `false` disables StatusBar additional offset
*
* @overview-example StatusBar additional offset support configuration
* ModalService could also control additional status bar offset configuration
* for all related UI Kitten measurable
* elements like [Modal](components/modal) and [Popover](components/popover).
*
* ```
* import React from 'react';
* import * as eva from '@eva-design/eva';
* import { ApplicationProvider, Layout, Text, ModalService } from '@wirthus/ui-kitten-components';
*
* ModalService.setShouldUseTopInsets = true //applies StatusBar additional offset
*
* const HomeScreen = () => (
*
* HOME
*
* );
*
* export default () => {
*
* return (
*
*
*
* )
* };
* ```
*/
declare class ModalServiceType {
private shouldUseTopInsets;
set setShouldUseTopInsets(state: boolean);
get getShouldUseTopInsets(): boolean;
}
export declare const ModalService: ModalServiceType;
export {};