import { JwtService } from '@nestjs/jwt';
import { Stream } from 'stream';
import { AbstractProvider } from './abstract.provider';
export declare class LocalProvider extends AbstractProvider {
    private setting;
    private jwt;
    constructor(setting: Record<string, string>, jwt: JwtService);
    initValidation(): Promise<void>;
    createFolderRecursive(path: string): Promise<void>;
    private resolveFilepath;
    uploadFromString(destination: string, filename: string, fileContent: string, mimetype?: string): Promise<any>;
    upload(destination: string, file: MulterFile): Promise<any>;
    uploadFromPath(destination: string, filePath: string, options?: {
        filename?: string;
        mimetype?: string;
    }): Promise<any>;
    delete(filepath: string): Promise<any>;
    readStream(filepath: string): Promise<Stream>;
    metaData(filepath: string): Promise<any>;
    buffer(filepath: string): Promise<Buffer>;
    tempURL(filepath: string, expires?: number): Promise<any>;
}
//# sourceMappingURL=local.provider.d.ts.map