import { InputHTMLAttributes, ReactNode } from "react";
import { CommonInputProps, Validity } from "../../inputs/textFields/shared.js";
export interface SelectionControlProps extends Omit, "placeholder" | "value" | "type" | "disabled" | "checked" | "id">, CommonInputProps, Validity<{
errorMsgRequired: false;
}> {
/**
* Option to hide the label. It will still be read by screen readers. May be useful for complex layouts.
*/
hideLabel?: boolean;
/**
* An optional description, which can include arbitrary elements. Unlike the `label`,
* clicking the description does not trigger selection.
*/
description?: React.ReactNode;
/**
* Whether space should be reserved for an error message.
*/
canShowErrorMessage?: boolean;
/**
* If you need to customise the layout, you can supply a custom render function
*/
render?: (input: JSX.Element, description?: JSX.Element) => JSX.Element;
}
interface HelperTextWrapperProps extends Validity<{
errorMsgRequired: false;
}> {
children: React.ReactNode;
id: string;
reserveSpaceForMessage?: boolean;
helperText?: string;
}
export declare const HelperTextWrapper: React.FC;
export declare const SelectionDescription: ({ disabled, children, }: {
disabled?: boolean;
children?: ReactNode;
}) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=shared.d.ts.map