/**
 * KTUI - Free & Open-Source Tailwind UI Components by Keenthemes
 * Copyright 2025 by Keenthemes Inc
 */

/**
 * Common type interfaces for the KTSelect component
 */

export interface KTSelectOption {
	id: string;
	title: string;
	selected?: boolean;
	disabled?: boolean;
}

export interface KTSelectOptionData {
	[key: string]: unknown;
}

export interface KTSelectState {
	getSelectedOptions(): string[];
	setSelectedOptions(value: string | string[]): void;
	toggleSelectedOptions(value: string): void;
	isSelected(value: string): boolean;
}
