import Base, { MaybeRaw } from "../../../Base"; import { StreamCacheMetadata, StreamCacheWipeResult, WaveCatalogMetadata, WaveEngineMetadata } from "../../../interfaces/agent/cache"; export declare class AgentCache extends Base { /** * Retrieves metadata for all currently cached stream definitions. * The cached design content is not exposed. * @returns Array of cached stream metadata */ listStreamCache(raw?: { raw: R; }): Promise>; /** * Retrieves metadata for a single cached stream entry by stream ID. * The cached design content is not exposed. * @param streamId - ID of the stream * @returns Cached stream metadata */ getStreamCache(streamId: string, raw?: { raw: R; }): Promise>; /** * Deletes a single cached stream entry by stream ID. * Does not interrupt currently running executions. * @param streamId - ID of the stream cache entry to delete */ deleteStreamCache(streamId: string, raw?: { raw: R; }): Promise>; /** * Deletes all cached stream entries. * Does not interrupt currently running executions, future executions will rebuild the cache naturally. * @returns Number of deleted cache entries */ clearCache(raw?: { raw: R; }): Promise>; /** * Retrieves metadata for all Wave Engine versions currently cached on the agent. * @returns Array of cached Wave Engine metadata */ listEngines(raw?: { raw: R; }): Promise>; /** * Deletes a cached Wave Engine version from the agent. * @param version - Version of the cached Wave Engine to remove */ deleteEngine(version: string, raw?: { raw: R; }): Promise>; /** * Retrieves metadata for all Wave Catalogs currently cached on the agent. * @returns Array of cached Wave Catalog metadata */ listCatalogs(raw?: { raw: R; }): Promise>; /** * Deletes a cached Wave Catalog from the agent. * @param hash - MD5 hash (of url + version) of the cached Wave Catalog to remove */ deleteCatalog(hash: string, raw?: { raw: R; }): Promise>; protected getEndpoint(endpoint: string): string; }