import React from 'react';
import { BasicFormComponent } from '../__types__';
import { ObjectKey } from "../../../types";
export declare const VARIANT: ObjectKey<string>;
export declare function renderMark({ error, checked, indeterminate, variant, onClick, disabled, }: {
    error: string;
    checked: boolean | undefined;
    indeterminate?: boolean | undefined;
    variant: keyof typeof VARIANT;
    onClick?: Function;
    disabled?: boolean;
}): JSX.Element;
export declare type CheckboxProps = BasicFormComponent & {
    text?: string;
    img?: string;
    indeterminate?: boolean;
    variant?: keyof typeof VARIANT;
};
declare class CheckBoxC extends React.Component<CheckboxProps> {
    static defaultProps: {
        value: boolean;
        withContext: boolean;
    };
    $ref: React.RefObject<HTMLInputElement>;
    componentDidMount(): void;
    componentWillUnmount(): void;
    componentDidUpdate({ value: prevValue }: CheckboxProps): void;
    onChange: (currentValue: boolean) => void;
    onEnterPress: (event: {
        key: string;
    }) => void;
    onClick: () => void;
    static contextType: React.Context<{}>;
    render(): JSX.Element;
}
declare const CheckBox: React.ForwardRefExoticComponent<BasicFormComponent & {
    text?: string | undefined;
    img?: string | undefined;
    indeterminate?: boolean | undefined;
    variant?: string | number | undefined;
} & React.RefAttributes<unknown>>;
export { CheckBox, CheckBoxC };
