import { FormControl } from '@angular/forms'; import { Color } from '@ionic/core'; import { ComponentState } from '../../types'; /** * Metadata for the toggle input component. */ export interface ToggleInputMetadata { /** Associated form control */ control: FormControl; /** Unique token for the input */ token?: string; /** Display label */ label?: string; /** Label position relative to toggle */ labelPosition?: 'start' | 'end'; /** Toggle color */ color?: Color; /** Component state */ state?: ComponentState; /** Justify content alignment */ justify?: 'start' | 'end' | 'space-between'; /** Enable/disable toggle */ disabled?: boolean; /** Reactive content key for label */ contentKey?: string; /** Component class name for content lookup */ contentClass?: string; /** Fallback text if contentKey is not found */ contentFallback?: string; }