import { DynamicModule } from '@nestjs/common'; import { ModuleAsyncOptions } from '../utils'; import { StorageAdapter } from './adapters'; export interface StorageModuleOptions { type?: 'filesystem' | 'custom'; rootDir?: string; filesDirname?: string; tempDirname?: string; filesRoute?: string; filesAccess?: 'all' | 'public' | 'protected' | 'none'; filesDirPattern?: string; filesNamePattern?: string; cacheDuration?: number; storageAdapter?: StorageAdapter; } export declare class StorageModule { static forRoot(options?: StorageModuleOptions): DynamicModule; static forRootAsync(options: ModuleAsyncOptions): DynamicModule; static createModule(providers?: any[], imports?: any[]): DynamicModule; private static databaseModuleAndServiceProviders; private static storageAdapterProvider; }