/** * @file src/modules/dom/states.ts * @version 2.1.0 * @since 2.0.0 * @license GPL-3.0-or-later * @copyright Sven Minio 2026 * @author Sven Minio * @category DOM * @description * * Methods for checking element states (e.g., visibility, checked, disabled). * @requires ../../core * * Depends on the core jBase class for type definitions. */ import { jBase } from '../../core'; /** * * Gets or sets the 'checked' state of checkboxes and radio buttons. * @example checked() => Gets the checked state of the first matched element. * @example checked(true) => Checks the first matched element. * @param state (Optional) `true` to check, `false` to uncheck. If undefined, acts as a getter. * @returns Boolean (getter) or the current jBase instance (setter). */ export declare function checked(this: jBase, state?: boolean): boolean | jBase; /** * * Gets or sets the 'selected' state of `