import type { TemplateResult } from '@mantou/gem/lib/element'; import { GemElement } from '@mantou/gem/lib/element'; import './use'; import './input'; export type Option = { label: string | TemplateResult; icon?: string | DocumentFragment | Element; tag?: string | TemplateResult; tagIcon?: string | DocumentFragment | Element; description?: string | TemplateResult; disabled?: boolean; danger?: boolean; highlight?: boolean; onClick?: (evt: MouseEvent) => void; onRemove?: (evt: MouseEvent) => void; onPointerEnter?: (evt: PointerEvent) => void; onPointerLeave?: (evt: PointerEvent) => void; onPointerDown?: (evt: PointerEvent) => void; onPointerUp?: (evt: PointerEvent) => void; }; export type Adder = { text?: string; handle: (value: string) => any; }; export declare const SEPARATOR = "---"; export declare class DuoyunOptionsElement extends GemElement { #private; static unnamed: string; searchable: boolean; options?: Option[]; adder?: Adder; render: () => TemplateResult; } //# sourceMappingURL=options.d.ts.map