import Animated, { AnimatedRef, SharedValue } from "react-native-reanimated";
import { WithTestID } from "../../utils/types";
import { HeaderActionProps } from "./common";
type ScrollValues = {
    contentOffsetY: SharedValue<number>;
    triggerOffset: number;
};
type DiscreteTransitionProps = {
    enableDiscreteTransition: true;
    animatedRef: AnimatedRef<Animated.ScrollView> | AnimatedRef<Animated.FlatList<any>>;
} | {
    enableDiscreteTransition?: false;
    animatedRef?: never;
};
type BackProps = {
    goBack: () => void;
    backAccessibilityLabel: string;
    backTestID?: string;
} | {
    goBack?: never;
    backAccessibilityLabel?: never;
    backTestID?: never;
};
type CommonProps = WithTestID<{
    scrollValues?: ScrollValues;
    title: string;
    transparent?: boolean;
    variant?: "neutral" | "contrast" | "primary";
    backgroundColor?: string;
    ignoreSafeAreaMargin?: boolean;
    ignoreAccessibilityCheck?: boolean;
}>;
interface Base extends CommonProps {
    type: "base";
    firstAction?: never;
    secondAction?: never;
    thirdAction?: never;
}
interface OneAction extends CommonProps {
    type: "singleAction";
    firstAction: HeaderActionProps;
    secondAction?: never;
    thirdAction?: never;
}
interface TwoActions extends CommonProps {
    type: "twoActions";
    firstAction: HeaderActionProps;
    secondAction: HeaderActionProps;
    thirdAction?: never;
}
interface ThreeActions extends CommonProps {
    type: "threeActions";
    firstAction: HeaderActionProps;
    secondAction: HeaderActionProps;
    thirdAction: HeaderActionProps;
}
export type HeaderSecondLevel = BackProps & DiscreteTransitionProps & (Base | OneAction | TwoActions | ThreeActions);
/**
 * HeaderSecondLevel component is used to display the header on pages on the second level of navigation.
 * @param {HeaderSecondLevel} props - The props of the component
 * @returns React Element
 */
export declare const HeaderSecondLevel: ({ scrollValues, goBack, backAccessibilityLabel, backTestID, title, type, variant, backgroundColor, transparent, ignoreSafeAreaMargin, enableDiscreteTransition, animatedRef, testID, firstAction, secondAction, thirdAction, ignoreAccessibilityCheck }: HeaderSecondLevel) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=HeaderSecondLevel.d.ts.map