import React, { PropsWithChildren } from 'react'; import { LinkProps } from '../Link'; import { HeadingProps } from '../Heading'; import { LabelProps } from '../Label'; import type { BaseProps } from '../component-helpers'; export type SectionIntroProps = { align?: 'start' | 'center'; fullWidth?: boolean; /** * Escape-hatch for inserting custom React components. * Warning: * This prop isn't advertised in our docs but remains part of the public API for edge-cases. * Need to use this prop? Please check in with #primer-brand first to confirm correct usage. */ leadingComponent?: React.FunctionComponent; } & React.HTMLAttributes & BaseProps; type SectionIntroHeadingProps = BaseProps & HeadingProps; type SectionIntroDescriptionProps = BaseProps & { children: React.ReactNode | React.ReactNode[]; }; type SectionIntroLabelProps = LabelProps & BaseProps; declare function _Label({ children, ...rest }: PropsWithChildren): import("react/jsx-runtime").JSX.Element; type SectionIntroLinkProps = Omit & BaseProps; export declare const SectionIntro: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes> & { Heading: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; Description: React.ForwardRefExoticComponent & React.RefAttributes>; Link: React.ForwardRefExoticComponent & React.RefAttributes>; Label: typeof _Label; }; export {};