/**
 * Copyright Aquera Inc 2023
 *
 * This source code is licensed under the BSD-3-Clause license found in the
 * LICENSE file in the root directory of this source tree.
 */
import { TemplateResult } from 'lit';
import NileElement from '../internal/nile-element';
import type { CSSResultGroup } from 'lit';
/**
 * @summary Checkboxes allow the user to toggle an option on or off.
 *
 * @dependency nile-icon
 *
 * @slot - The checkbox's label.
 *
 * @event nile-blur - Emitted when the checkbox loses focus.
 * @event nile-change - Emitted when the checked state changes.
 * @event nile-focus - Emitted when the checkbox gains focus.
 * @event nile-input - Emitted when the checkbox receives input.
 * @event nile-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
 *
 * @csspart base - The component's base wrapper.
 * @csspart control - The square container that wraps the checkbox's checked state.
 * @csspart control--checked - Matches the control part when the checkbox is checked.
 * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.
 * @csspart checked-icon - The checked icon, an `<nile-icon>` element.
 * @csspart indeterminate-icon - The indeterminate icon, an `<nile-icon>` element.
 * @csspart label - The container that wraps the checkbox's label.
 */
/**
 * Nile icon component.
 *
 * @tag nile-checkbox
 *
 */
export declare class NileCheckbox extends NileElement {
    constructor();
    static styles: CSSResultGroup;
    input: HTMLInputElement;
    private hasFocus;
    title: string;
    /** The name of the checkbox, submitted as a name/value pair with form data. */
    name: string;
    /** The current value of the checkbox, submitted as a name/value pair with form data. */
    value: boolean;
    /** The checkbox's size. */
    size: 'small' | 'medium' | 'large';
    /** Disables the checkbox. */
    disabled: boolean;
    /** Draws the checkbox in a checked state. */
    checked: boolean;
    /** Label, declared this property for backward compatibility of old component  */
    label: string;
    /**
     * Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
     * all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
     */
    indeterminate: boolean;
    /** The default value of the form control. Primarily used for resetting the form control. */
    defaultChecked: boolean;
    helpText: string;
    errorMessage: string;
    showHelpText: boolean;
    /**
     * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
     * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
     * the same document or shadow root for this to work.
     */
    form: string;
    /** Associates this checkbox with a nile-checkbox-group via a shared group name. */
    group: string;
    /** Makes the checkbox a required field. */
    required: boolean;
    private toggleHelpText;
    private handleClick;
    private handleBlur;
    private handleInput;
    private handleFocus;
    handleStateChange(): void;
    /** Simulates a click on the checkbox. */
    click(): void;
    /** Sets focus on the checkbox. */
    focus(options?: FocusOptions): void;
    /** Removes focus from the checkbox. */
    blur(): void;
    connectedCallback(): void;
    disconnectedCallback(): void;
    updated(changedProperties: Map<string | number | symbol, unknown>): void;
    private updateHostClass;
    render(): TemplateResult<1>;
}
export default NileCheckbox;
declare global {
    interface HTMLElementTagNameMap {
        'nile-checkbox': NileCheckbox;
    }
}
