declare module '@capacitor/cli' { interface PluginsConfig { EdgeToEdge?: { /** * The hexadecimal color to set as the background color of the status bar and navigation bar. * * @deprecated Use `statusBarColor` and `navigationBarColor` instead. * @since 7.1.0 * @example "#ffffff" */ backgroundColor?: string; /** * The hexadecimal color to set as the background color of the navigation bar area. * * Only available on Android. * * @since 8.0.0 * @example "#000000" */ navigationBarColor?: string; /** * The hexadecimal color to set as the background color of the status bar area. * * Only available on Android. * * @since 8.0.0 * @example "#ffffff" */ statusBarColor?: string; }; } } export interface EdgeToEdgePlugin { /** * Disable the edge-to-edge mode. * * Only available on Android. * * @since 7.2.0 */ disable(): Promise; /** * Enable the edge-to-edge mode. * * Only available on Android. * * @since 7.2.0 */ enable(): Promise; /** * Return the insets that are currently applied to the webview. * * Only available on Android. * * @since 7.2.0 */ getInsets(): Promise; /** * Set the background color of the status bar and navigation bar. * * Only available on Android. * * @deprecated Use `setStatusBarColor()` and `setNavigationBarColor()` instead. * @since 7.0.0 */ setBackgroundColor(options: SetBackgroundColorOptions): Promise; /** * Set the background color of the navigation bar area. * * Only available on Android. * * @since 8.0.0 */ setNavigationBarColor(options: SetNavigationBarColorOptions): Promise; /** * Set the background color of the status bar area. * * Only available on Android. * * @since 8.0.0 */ setStatusBarColor(options: SetStatusBarColorOptions): Promise; } /** * @since 7.2.0 */ export interface GetInsetsResult { /** * The bottom inset that was applied to the webview. * * Only available on Android. * * @since 7.2.0 */ bottom: number; /** * The left inset that was applied to the webview. * * Only available on Android. * * @since 7.2.0 */ left: number; /** * The right inset that was applied to the webview. * * Only available on Android. * * @since 7.2.0 */ right: number; /** * The top inset that was applied to the webview. * * Only available on Android. * * @since 7.2.0 */ top: number; } /** * @since 7.0.0 */ export interface SetBackgroundColorOptions { /** * The hexadecimal color to set as the background color of the status bar and navigation bar. * * @since 7.0.0 * @example "#ffffff" * @example "#000000" */ color: string; } /** * @since 8.0.0 */ export interface SetNavigationBarColorOptions { /** * The hexadecimal color to set as the background color of the navigation bar area. * * @since 8.0.0 * @example "#000000" */ color: string; } /** * @since 8.0.0 */ export interface SetStatusBarColorOptions { /** * The hexadecimal color to set as the background color of the status bar area. * * @since 8.0.0 * @example "#ffffff" */ color: string; }