import { APIResource } from './base'; import { AppBasic, AppDetails } from '../types/apps'; export declare class AppsResource extends APIResource { /** * Searches for applications based on specified criteria. * @param params - The search parameters. * @param params.intent - Optional intent to filter apps by. * @param params.allowed_apps_only - Optional flag to include only allowed apps. * @param params.include_functions - Optional flag to include app functions in the response. * @param params.categories - Optional list of categories to filter apps by. * @param params.limit - Optional limit on the number of results to return. * @param params.offset - Optional offset for paginating through results. * @returns A promise that resolves to an array of basic app information. * @throws {ValidationError} If the input parameters are invalid. */ search(params: { intent?: string; allowed_apps_only?: boolean; include_functions?: boolean; categories?: string[]; limit?: number; offset?: number; }): Promise; /** * Retrieves details for a specific application. * @param appName - The name of the application to retrieve. * @returns A promise that resolves to the detailed application information. */ get(appName: string): Promise; }