/** * @license * Copyright 2023 Google Laabidi Aymen * SPDX-License-Identifier: MIT */ import { TemplateResult, nothing } from 'lit'; /** * Rendering utilities for input component icons and elements */ export declare class InputRenderUtils { /** * Renders prefix content (Light DOM — children passed in directly) */ static renderPrefix(children?: Element[]): TemplateResult | typeof nothing; /** * Renders suffix content (Light DOM — children passed in directly) */ static renderSuffix(children?: Element[]): TemplateResult | typeof nothing; /** * Renders addon before content (outside input borders) * Only renders if hasAddonBefore is true */ static renderAddonBefore(hasAddonBefore: boolean, children?: Element[]): TemplateResult | typeof nothing; /** * Renders addon after content (outside input borders) * Only renders if hasAddonAfter is true */ static renderAddonAfter(hasAddonAfter: boolean, children?: Element[]): TemplateResult | typeof nothing; /** * Renders the copy icon when withCopy is enabled */ static renderCopyIcon(withCopy: boolean, disabled: boolean, readonly: boolean, onCopy: () => void, onKeydown: (e: KeyboardEvent) => void): TemplateResult | typeof nothing; /** * Renders the clear icon when allowClear is enabled and there's content */ static renderClearIcon(allowClear: boolean, value: string, disabled: boolean, readonly: boolean, onClear: () => void, onKeydown: (e: KeyboardEvent) => void): TemplateResult | typeof nothing; /** * Renders state-based icons (warning, error) */ static renderStateIcon(state: string): TemplateResult | typeof nothing; /** * Renders the calendar icon for calendar input type */ static renderCalendarIcon(state: string, type: string): TemplateResult | typeof nothing; /** * Renders password toggle icon */ static renderPasswordIcon(type: string, inputType: string, disabled: boolean, readonly: boolean, onToggle: () => void, onKeydown: (e: KeyboardEvent) => void): TemplateResult | typeof nothing; /** * Renders number input increment/decrement icons */ static renderNumberIcons(type: string, state: string, disabled: boolean, readonly: boolean, onIncrement: () => void, onDecrement: () => void, onKeydown: (e: KeyboardEvent) => void): TemplateResult | typeof nothing; } //# sourceMappingURL=input-renderers.d.ts.map