import { BaseApiTemplateService, ConditionalCriterion } from 'blg-akaun-ts-lib'; export interface IDropDownOptions { service: BaseApiTemplateService; /** * Criteria for the server-side typeahead, replacing the `table` + raw `query` * pair that used to be posted to SubQueryService. Implementations return the * criteria their endpoint's UoW understands (typically `search_word` plus * whatever scoping the old SELECT carried in its WHERE clause). */ searchCriteria: (searchText: string) => ConditionalCriterion[]; guidSelector: (container: T) => any; labelRenderer: (container: T) => string; }