import { GlobalProps, GlobalState } from '../../shared/model'; export declare const PageVariantList: readonly ["auto", "fixed"]; export type PageVariantType = (typeof PageVariantList)[number]; export declare const PageDocumentOverflowList: readonly ["hidden", "auto"]; export type PageDocumentOverflowType = (typeof PageDocumentOverflowList)[number]; export type DBPageDefaultProps = { /** * The documentOverflow sets the overflow:hidden/auto to the root document */ documentOverflow?: PageDocumentOverflowType; /** * Set this to have a transition with opacity to avoid layout-shifts https://simonhearne.com/2021/layout-shifts-webfonts/ */ fadeIn?: boolean; /** * The slot can be used for React to set a footer. */ footer?: any; /** * The slot can be used for React to set a header. */ header?: any; /** * The variant=fixed uses flex-box to make header and footer static */ variant?: PageVariantType; }; export type DBPageProps = DBPageDefaultProps & GlobalProps; export type DBPageDefaultState = { fontsLoaded?: boolean; }; export type DBPageState = DBPageDefaultState & GlobalState;