import React, { ReactElement } from 'react'; import { CommonPlacement } from '../../types/common-types'; type Props = { /** Field value */ checked?: boolean; disabled?: boolean; /** Unique identificator */ id?: string; /** @ignore */ inGroup?: boolean; /** Information tooltip appended to label * * @param {string} content Tooltip content * @param {string} placement Tooltip placement */ info?: { content: string; placement: CommonPlacement; }; name?: string; /** Is fired when field loses focus */ onBlur?: (checked: boolean, event: React.FormEvent) => void; /** * Is fired when field value changes * * @param {string} value New value */ onChange: (checked: boolean, event?: React.FormEvent) => void; /** Checkbox label text */ text: string | ReactElement; }; export type CheckboxElement = ReactElement; /** Use `WrappedCheckbox` to turn into `form group` with `label`. */ export declare const Checkbox: ({ checked, id, inGroup, info, onBlur, onChange, text, ...rest }: Props) => import("react/jsx-runtime").JSX.Element; export declare const WrappedCheckbox: (props: import("../formField").FormFieldProps) => import("react/jsx-runtime").JSX.Element; export {};