import React from "react"; import type { ReactNode } from "react"; export type onChange = (value: T, init: boolean) => void; export interface BaseControlProps { /** * This control's title. */ title: ReactNode; /** * Description of the control. */ description?: string; /** * Asterisk symbol next to settings that require attention. */ attention?: boolean; } /** * Base title */ export declare function ControlTitle({ attention, children, }: { attention?: boolean; children: ReactNode; }): React.JSX.Element; /** * Base title */ export declare function ControlContainer({ description, children, }: { description?: string; children: ReactNode; }): React.JSX.Element; /** * A control. */ export declare function Control({ title, description, attention, children, }: BaseControlProps & { children?: ReactNode; }): React.JSX.Element;