import type { SimpleCache } from '../../domain.objects/SimpleCache'; import { type WithSimpleCacheChoice } from './getCacheFromCacheChoice'; import { type WithExtendableCacheTrigger } from './shared'; /** * a function which grabs the cache from arguments to `invalidate` or `update` commands, * supports both `forInput` and `forKey` invocation patterns */ export declare const getCacheFromCacheChoiceOrFromForKeyArgs: any>({ args, options, trigger, }: { args: { forKey: string; cache?: SimpleCache; } | { forInput: Parameters; }; options: { cache: WithSimpleCacheChoice, SimpleCache>; }; trigger: WithExtendableCacheTrigger; }) => SimpleCache;