import TinyHtmlInput from '../TinyHtmlInput.mjs'; /** * TinyHtmlHiddenInput is a helper class for managing * elements. It provides validation * and structured getters/setters for common attributes. * * @example * const hidden = new TinyHtmlHiddenInput({ * name: 'csrf_token', * value: '12345', * required: true * }); * * @extends TinyHtmlInput */ declare class TinyHtmlHiddenInput extends TinyHtmlInput { /** * Creates a new TinyHtmlHiddenInput instance. * @param {Object} config - Configuration object. * @param {string} [config.value] - Initial value of the input. * @param {string} [config.name] - The name of the control. * @param {string} [config.autocomplete] - Autocomplete hint (e.g., "on", "off", "email"). * @param {string} [config.dirname] - Directionality field name (for text-based inputs). * @param {boolean} [config.readonly=false] - Whether the input is read-only. * @param {boolean} [config.required=false] - Whether the input is required. * @param {string|string[]|Set} [config.tags=[]] - Initial CSS classes. * @param {string} [config.mainClass=''] - Main CSS class. * @throws {TypeError} If any attribute is of the wrong type. */ constructor({ name, value, dirname, autocomplete, readonly, required, tags, mainClass, }?: { value?: string; name?: string; autocomplete?: string; dirname?: string; readonly?: boolean; required?: boolean; tags?: string | string[] | Set; mainClass?: string; }); /** @param {string} value */ set value(value: string); /** @returns {string|null} */ get value(): string | null; /** @param {string} name */ set name(name: string); /** @returns {string|null} */ get name(): string | null; /** @param {string} autocomplete */ set autocomplete(autocomplete: string); /** @returns {string|null} */ get autocomplete(): string | null; /** @param {string} dirname */ set dirname(dirname: string); /** @returns {string|null} */ get dirname(): string | null; } export default TinyHtmlHiddenInput; //# sourceMappingURL=TinyHtmlHiddenInput.d.mts.map