*/ public function resources(): array; /** * Map a raw result row to a display-ready item. * * @param array $row * @return array{title: string, subtitle?: string, url: string, icon?: string}|null */ public function mapResultItem(string $resourceKey, array $row): ?array; /** * Return the list URL for the given resource key and encoded search term. */ public function listUrl(string $resourceKey, string $encodedSearch): string; }