import { FunctionComponent, PropsWithChildren } from 'react'; import { StyleProp, ViewStyle } from 'react-native'; export type OverlayComponentProps = PropsWithChildren<{ style?: StyleProp; }>; export type LoadingComponentProps = PropsWithChildren<{ onVisible: () => void; onHidden: () => void; isOpen: boolean; }>; export type ScreenLoadingProps = { isOpen: boolean; onVisible: () => void; onHidden: () => void; OverlayComponent: FunctionComponent; LoadingComponent: FunctionComponent; }; export type ScreenLoadingProviderProps = Partial> & { initialIsOpen?: boolean; }; export declare function ScreenLoadingProvider({ children, initialIsOpen, OverlayComponent, LoadingComponent, }: PropsWithChildren): import("react/jsx-runtime").JSX.Element; export declare function useScreenLoading(): Pick; //# sourceMappingURL=ScreenLoading.d.ts.map