import StatusBarService, { StatusBarConfig, StatusBarState, StatusBarStyleType } from './StatusBarService'; /** * 状态栏管理 Hook * 提供状态栏的统一控制与订阅能力 */ export declare const useStatusBar: () => { config: StatusBarState; setConfig: (config: Partial) => void; setBarStyle: (barStyle: StatusBarStyleType, animated?: boolean) => void; setBackgroundColor: (backgroundColor: string, animated?: boolean) => void; setTranslucent: (translucent: boolean) => void; setHidden: (hidden: boolean, animation?: "fade" | "slide") => void; show: (animation?: "fade" | "slide") => void; hide: (animation?: "fade" | "slide") => void; setNetworkActivityIndicatorVisible: (visible: boolean) => void; enableAutoTheme: () => void; disableAutoTheme: () => void; isAutoThemeEnabled: boolean; reset: () => void; getRecommendedStyle: () => StatusBarStyleType; getRecommendedBackgroundColor: () => string; }; /** * 简化的状态栏样式 Hook */ export declare const useStatusBarStyle: () => { barStyle: StatusBarStyleType; setBarStyle: (style: StatusBarStyleType, animated?: boolean) => void; getRecommendedStyle: typeof StatusBarService.getRecommendedStyle; }; /** * 状态栏可见性控制 Hook */ export declare const useStatusBarVisibility: () => { hidden: boolean; show: (animation?: "fade" | "slide") => void; hide: (animation?: "fade" | "slide") => void; toggle: (animation?: "fade" | "slide") => void; }; //# sourceMappingURL=hooks.d.ts.map