import type { Snippet } from 'svelte'; import { type AssetInfo, type AssetMentionChip, type AssetRoleOption, type ModelCapabilities } from '@pixerate/editor/generation'; interface Props { /** Prompt text containing `@asset` / `@asset:role` mentions. */ content: string; /** Called with the text after a role is picked (`@fox` → `@fox:style_ref`). */ onchange: (next: string) => void; /** Mentionable assets; mentions that match none (by id or label) are not shown. */ assets: readonly AssetInfo[]; /** The selected model: its roles are offered and mentions are checked against it. */ capabilities?: ModelCapabilities; /** Role options (default: the model's roles, else the built-in roles). */ roles?: readonly AssetRoleOption[]; /** Custom chip content (default: the asset label). */ asset?: Snippet<[AssetMentionChip]>; class?: string; } declare const AssetMentionChips: import("svelte").Component; type AssetMentionChips = ReturnType; export default AssetMentionChips;