import { TTLConfig } from '@salesforce/core'; export type AsyncOperationData = Record; /** * Caches the AOR data * * @author JuanStenghele-sf */ export declare class DeployPipelineCache extends TTLConfig { /** * Returns the cache's filename */ static getFileName(): string; /** * Returns the cache's options */ static getDefaultOptions(): TTLConfig.Options; /** * Caches the data sent */ static set(aorId: string, data: AsyncOperationData): Promise; /** * Removes the data associated with the aorId */ static unset(aorId: string): Promise; /** * Updates the aorId with the data sent * Merges the data sent with the existing one */ static update(aorId: string, data: Partial>): Promise; /** * Returns the data associated with the aorId */ get(aorId: string): TTLConfig.Entry; /** * Returns the latest data cached or throws if can't find any. */ getLatestKeyOrThrow(): string; }