import type { MtlsOptions } from '../../http-agent'; import type { AsyncCacheInterface } from '../async-cache'; import type { DestinationCacheType } from './destination-cache'; /** * @internal */ type MtlsCacheInterface = AsyncCacheInterface; interface RegisterDestinationCacheType { destination: DestinationCacheType; mtls: MtlsCacheType; } interface MtlsCacheType { /** * @internal */ useMtlsCache: boolean; /** * @internal */ retrieveMtlsOptionsFromCache: () => Promise; /** * @internal */ cacheMtlsOptions: () => Promise; /** * @internal */ getMtlsOptions: () => Promise>; /** * @internal */ clear: () => Promise; /** * @internal */ getCacheInstance: () => MtlsCacheInterface; } /** * @internal */ export declare const RegisterDestinationCache: () => RegisterDestinationCacheType; /** * @internal */ export declare const registerDestinationCache: RegisterDestinationCacheType; export {};