import { OsrsItem, ItemFilter, ImageUrlOptions } from './types'; import { getItemImageUrl, getItemImageUrls, parseItemName, constructImageFilename, constructBaseImageFilename } from './utils/imageUrl'; /** * Get an item by its numeric ID * * @param id - The item ID to search for * @returns The matching item, or undefined if not found */ export declare function getItemById(id: number): OsrsItem | undefined; /** * Get all items with a specific ID (handles cases where multiple variants share IDs) * * @param id - The item ID to search for * @returns Array of matching items */ export declare function getItemsById(id: number): OsrsItem[]; /** * Get an item by its exact name * * @param name - The exact item name (case-sensitive) * @returns The matching item, or undefined if not found */ export declare function getItemByName(name: string): OsrsItem | undefined; /** * Search for items by name (case-insensitive, partial match) * * @param query - The search query * @param limit - Maximum number of results to return (default: no limit) * @returns Array of matching items */ export declare function searchItemsByName(query: string, limit?: number): OsrsItem[]; /** * Get all items, optionally filtered * * @param filter - Optional filter criteria * @returns Array of items matching the filter */ export declare function getAllItems(filter?: ItemFilter): OsrsItem[]; /** * Get the total count of items in the dataset * * @returns The total number of items */ export declare function getItemCount(): number; /** * Get all unique base item names (without variants) * * @returns Array of unique base names */ export declare function getUniqueBaseNames(): string[]; /** * Get all variants for a specific base item name * * @param baseName - The base item name * @returns Array of items with this base name */ export declare function getItemVariants(baseName: string): OsrsItem[]; export type { OsrsItem, ItemFilter, ImageUrlOptions }; export { getItemImageUrl, getItemImageUrls, parseItemName, constructImageFilename, constructBaseImageFilename, }; //# sourceMappingURL=index.d.ts.map