import * as React from "react"; import { ButtonProps } from "../../button/components/ButtonBase"; export interface FullscreenViewProps { /** The primary button */ ctaButton?: React.ReactElement; /** The text for the secondary button that closes the view */ closeText: React.ReactNode; /** The title that appears in the header */ title: React.ReactNode; /** The subtitle that appears in the header */ subtitle?: React.ReactNode; /** Whether we automatically add padding to the body of the modal. */ isContentFlush?: boolean; /** Custom header content component. ⚠️Use rarely and with caution⚠️ */ headerComponent?: React.JSXElementConstructor; /** Custom banner component that will appear above the header. */ bannerComponent?: React.ReactNode; /** Function that gets called when the modal is closed */ onClose: (event?: React.SyntheticEvent) => void; /** The base of the `data-cy` value. This is used for writing selectors in Cypress. */ cypressSelectorBase?: string; /** Optional classname around header contents */ headerClassName?: string; children?: React.ReactNode; } declare const _default: ({ children, ctaButton, closeText, isContentFlush, onClose, title, subtitle, bannerComponent, headerComponent, cypressSelectorBase, headerClassName }: FullscreenViewProps) => React.JSX.Element; export default _default;