GT2/Ejectable/node_modules/expo-splash-screen/build/SplashScreen.d.ts

21 lines
725 B
TypeScript

/**
* Makes the native splash screen (configured in `app.json`) remain visible until `hideAsync` is called.
*/
export declare function preventAutoHideAsync(): Promise<boolean>;
/**
* Hides the native splash screen immediately. Be careful to ensure that your app has content ready
* to display when you hide the splash screen, or you may see a blank screen briefly. See the
* ["Usage"](#usage) section for an example.
*/
export declare function hideAsync(): Promise<boolean>;
/**
* @deprecated Use `SplashScreen.hideAsync()` instead
* @ignore
*/
export declare function hide(): void;
/**
* @deprecated Use `SplashScreen.preventAutoHideAsync()` instead
* @ignore
*/
export declare function preventAutoHide(): void;