import { ReactNode } from 'react'; export interface StyledFieldPairProps { /** The two fields, first field first, so focus and screen readers reach it first. */ children: ReactNode; /** * A group label for parts that only make sense together, such as country code and number. * Renders the pair as a `fieldset` with this `legend`; each field still keeps its own label. */ legend?: ReactNode; className?: string; dataTest?: string; } /** * Two fields that are parts of one answer, side by side (field width pattern WID-9): first name + last * name, postal code + city, date + time, from + to, a value + its unit. Each field keeps its width step; * a Full field fills the rest of the row and is never narrower than S. Stacks when the row is too narrow. */ export declare const StyledFieldPair: ({ children, legend, className, dataTest }: StyledFieldPairProps) => JSX.Element;