import { DynamicModule, OnModuleInit } from "@nestjs/common";
import { Cache } from "cache-manager";
import { CacheableConfiguration } from "./cacheable.interfaces";
export declare class CacheableModule implements OnModuleInit {
    private readonly config;
    constructor(cacheManager: Cache, config: CacheableConfiguration);
    onModuleInit(): void;
    static forRootAsync(options: {
        imports: any[];
        useFactory: (...args: any[]) => Promise<CacheableConfiguration> | CacheableConfiguration;
        inject: any[];
    }): DynamicModule;
}
