import { PassThrough, PassThroughOption } from 'primeng/api';

/**
 * Custom pass-through(pt) options.
 * @template I Type of instance.
 *
 * @see {@link LabelPassThrough}
 * @group Interface
 */
interface LabelPassThroughOptions<I = unknown> {
    /**
     * Used to pass attributes to the root's DOM element.
     */
    root?: PassThroughOption<HTMLLabelElement, I>;
}
/**
 * Defines valid pass-through options in Label.
 * @see {@link LabelPassThroughOptions}
 *
 * @template I Type of instance.
 */
type LabelPassThrough<I = unknown> = PassThrough<I, LabelPassThroughOptions<I>>;

export type { LabelPassThrough, LabelPassThroughOptions };
