import type { SubMenuAnimationContextValue, SubMenuRootAnimation, SubMenuTriggerIndicatorAnimation } from './sub-menu.types.js'; declare const SubMenuAnimationProvider: import("react").Provider, useSubMenuAnimation: () => SubMenuAnimationContextValue; /** * Animation hook for SubMenu root component. * Handles root-level animation configuration and provides * the combined disabled state for child components. */ export declare function useSubMenuRootAnimation(options: { animation: SubMenuRootAnimation | undefined; }): { isAllAnimationsDisabled: boolean; triggerHeight: import("react-native-reanimated").SharedValue; contentHeight: import("react-native-reanimated").SharedValue; contentPaddingTop: import("react-native-reanimated").SharedValue; }; /** * Hook providing animated styles for the SubMenu root content container. * Animates height, margins, and padding when the submenu opens/closes. * Uses getRootAnimationState to handle values and disabled state. * * @param options.animation - Root animation configuration * @returns Object with rOuterContainerStyle and rInnerContentStyle for the * root content container, plus the exit animation for the background layer */ export declare function useRootContentContainerAnimation(options: { animation: SubMenuRootAnimation | undefined; }): { rOuterContainerStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{ height: number | undefined; }>; rInnerContentStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{ height: undefined; marginHorizontal?: undefined; marginVertical?: undefined; paddingHorizontal?: undefined; paddingTop?: undefined; } | { height: number; marginHorizontal: number; marginVertical: number; paddingHorizontal: number; paddingTop: number; }>; /** Exit animation for the background layer (undefined when disabled) */ backgroundExiting: import("react-native-reanimated").BaseAnimationBuilder | ((targetValues: import("react-native-reanimated").EntryAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | ((targetValues: import("react-native-reanimated").ExitAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | import("react-native-reanimated").ReanimatedKeyframe | undefined; }; /** * Animation hook for the SubMenu trigger indicator. * Handles rotation animation when the submenu opens/closes. */ export declare function useSubMenuTriggerIndicatorAnimation(options: { animation: SubMenuTriggerIndicatorAnimation | undefined; isOpen: boolean; }): { rContainerStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{ transform: ({ scaleX: number; rotate?: undefined; } | { rotate: string; scaleX?: undefined; })[]; }>; }; export { SubMenuAnimationProvider, useSubMenuAnimation, type SubMenuAnimationContextValue, }; //# sourceMappingURL=sub-menu.animation.d.ts.map