import { Includeable } from "sequelize"; declare type StatefulCachedModel = { state: string; }; declare type FindAllWithCache = (modelId?: string, state?: T["state"]) => Promise; declare type FindOneWithCache = (value: string, modelId?: string, state?: T["state"], lookupKey?: keyof T) => Promise; export declare class ModelCache { TTL: number; expires: number; instances: T[]; findAllWithCache: FindAllWithCache; findOneWithCache: FindOneWithCache; include: () => Includeable[]; constructor(findAllWithCache: FindAllWithCache, findOneWithCache: FindOneWithCache, include: () => Includeable[]); invalidate(): void; } export {};