import { GuidAccepted } from "@ef-carbon/primitive"; import { IImmutable as IProviderImmutable, IMutable as IProviderMutable } from "./cache/IProvider"; import { IImmutable as IFormationImmutable } from "./IFormation"; export interface ICacheImmutable { readonly provider: IProviderImmutable; fetch(guid: GuidAccepted): Promise>; } export interface ICacheMutable extends ICacheImmutable { provider: IProviderMutable; clear(): void; } export { ICacheMutable as IMutable, ICacheImmutable as IImmutable }; export default ICacheMutable;