/**
 * Apps Resource
 *
 * Provides app metadata lookups (name, description) for app IDs
 * encountered in cross-app transaction history.
 */
export class AppsResource {
    indexer;
    constructor(indexer) {
        this.indexer = indexer;
    }
    /**
     * Look up metadata for one or more app IDs.
     * Returns public info (appId, name, description) for each found app.
     * Unknown or inactive app IDs are silently omitted from the result.
     *
     * @param appIds - Array of app IDs to look up (max 50)
     * @returns Array of AppInfo objects
     */
    async getAppInfo(appIds) {
        if (appIds.length === 0)
            return [];
        const response = await this.indexer.getAppInfo(appIds);
        return response.data;
    }
}
//# sourceMappingURL=Apps.js.map