import React, { Ref, PropsWithChildren } from 'react'; import type { AnimateProps } from '@primer/react-brand'; /** * Layout */ export declare const Container: ({ children, style, }: { children: React.ReactElement[] | React.ReactElement; style?: React.CSSProperties; }) => import("react/jsx-runtime").JSX.Element; type RedlineBackgroundProps = { height?: number; hasBorder?: boolean; }; export declare function RedlineBackground({ height, hasBorder, ...rest }: PropsWithChildren): import("react/jsx-runtime").JSX.Element; /** * Base Types * * Component helper type to be extended by component types, e.g.: * type CustomComponentProps = BaseProps & { ... } * * Example use: * const CustomComponent = forwardRef(({className, ...props}, ref) => { ... }) * // OR: * const CustomComponent = forwardRef(({className: CustomComponentProps, ...props}, ref: Ref) => { ... }) */ export type BaseProps = { className?: string; id?: string; ref?: Ref; animate?: AnimateProps; }; export {};