import { SerializedStyles } from "@emotion/react"; import * as React$1 from "react"; import React, { CSSProperties } from "react"; import { SpacingTokens } from "@contentful/f36-tokens"; import * as CSS from "csstype"; //#region src/GlobalStyles/GlobalStyles.d.ts export declare const GlobalStyles: ({ withNormalize, styles }: { /** * Determines if CSS reset should be used * * @default true */ withNormalize?: boolean; /** * Extend global styles * * @default undefined */ styles?: SerializedStyles; }) => import("react/jsx-runtime").JSX.Element; //#endregion //#region src/Primitive/Primitive.d.ts /** * Expand object types to show the contents not the name of the type. * Should be used when using React.ForwardRef to show list of props */ type ExpandProps = T; type Overwrite = Omit & U; type PropsWithAs = P & { as?: E; }; /** * Use for wrapping/mirroring a HTML Element. * * Example with wrapping button: * * interface ButtonOwnProps { * customProp: string * } * type ButtonProps = PropsWithHTMLElement * * export function Button(props: ButtonProps) { * const { customProp, ...otherProps } = props; * * return