import React from 'react'; import '../../styles/base.module.css'; import { KorosProps } from '../koros'; import { AllElementPropsWithoutRef } from '../../utils/elementTypings'; type DivElementAttributes = AllElementPropsWithoutRef<'div'>; export type HeroProps = React.PropsWithChildren & { hide?: boolean; }; theme?: HeroCustomTheme; /** * Defines the hero variant */ variant?: 'imageLeft' | 'imageRight' | 'backgroundImage' | 'imageBottom' | 'diagonalKoros' | 'noImage'; }>; export interface HeroCustomTheme { /** * Arrow icon color * Default --color */ '--arrow-icon-color'?: string; /** * Sets the background color. Is also koros color, if --koros-color is not set. * Default --color-white */ '--background-color'?: string; /** * Background color of the bottom area with arrow and information * Default transparent */ '--bottom-background-color'?: string; /** * Text color * Default --color-black-90 */ '--color'?: string; /** * How background image is positioned if it overflows the container. Is set to css property "object-position" * Default bottom right */ '--image-position'?: string; /** * Color of the koros * Default --background-color */ '--koros-color'?: string; /** * Height of the koros * Default 85px */ '--koros-height'?: string; /** * The "diagonalKoros" variant might need koros position adjustment, if texts overflow. * This set the koros element's css rule "right" * Default "45%" */ '--diagonal-koros-position'?: string; /** * Custom horizontal padding for small screens * Default --spacing-layout-2-xs */ '--horizontal-padding-small'?: string; /** * Custom horizontal padding for medium screens * Default --spacing-layout-xs */ '--horizontal-padding-medium'?: string; /** * Custom horizontal padding for large screens * Default --spacing-layout-xs */ '--horizontal-padding-large'?: string; /** * Custom horizontal padding for x-large screens * Default --spacing-layout-xs */ '--horizontal-padding-x-large'?: string; /** * Text color of the information text. * Default inherit */ '--information-color'?: string; /** * Extra top padding for the information element. Has no effect when Hero variant is 'imageLeft' or 'imageRight'. * Default 0 */ '--information-padding-top'?: string; } export declare const Hero: { ({ children, variant, imageSrc, showArrowIcon, centeredContent, information, theme, koros, ...elementAttributes }: HeroProps): React.JSX.Element; Title: (props: import("./Title").TitleProps) => React.ReactElement; Text: (props: AllElementPropsWithoutRef<"p">) => React.ReactElement; }; export {};