import { PillVariant } from '../../types'; export interface ResourcePickerRow { /** Identifier shown as a gray pill at the start of the second line, e.g. an experiment code. */ code?: string; title: string; /** Second-line facts after the code, joined with " ยท ". */ meta?: string[]; /** Right column, above the date, tinted by its variant. */ status?: { label: string; variant: PillVariant; }; /** Right column, in mono. */ date?: string; } declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import('vue').PublicProps & __VLS_PrettifyLocal<{ items: T[]; /** When set, rows render under collapsible group headers in this order. */ groups?: { label: string; items: T[]; }[] | null; itemKey: (item: T) => string | number; describe: (item: T) => ResourcePickerRow; selectedKey?: string | number | null; search: string; /** Accessible name of the list; the search field is labelled "Search {label}". */ label: string; placeholder?: string; loading?: boolean; error?: string | null; emptyTitle?: string; emptyDescription?: string; } & { onSelect?: ((item: T) => any) | undefined; "onUpdate:search"?: ((value: string) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {} & { $el: HTMLDivElement; }) => void; attrs: any; slots: { /** Extra filters on the search row. */ filters?: () => unknown; /** A second filter row under the search. */ advanced?: () => unknown; /** Row controls before the check; keys pressed inside them never select the row. */ actions?: (props: { item: T; }) => unknown; }; emit: ((evt: "select", item: T) => void) & ((evt: "update:search", value: string) => void); }>) => import('vue').VNode & { __ctx?: NonNullable>; }; declare const _default: typeof __VLS_export; export default _default; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};