import type { IPersistence } from './IPersistence.js'; import { Logger, type LoggerOptions } from '@azure/msal-common/node'; import { BasePersistence } from './BasePersistence.js'; /** * Reads and writes data to file specified by file location. File contents are not * encrypted. * * If file or directory has not been created, it FilePersistence.create() will create * file and any directories in the path recursively. */ export declare class FilePersistence extends BasePersistence implements IPersistence { private filePath; private logger; private constructor(); static create(fileLocation: string, loggerOptions?: LoggerOptions): Promise; save(contents: string): Promise; saveBuffer(contents: Uint8Array): Promise; load(): Promise; loadBuffer(): Promise; delete(): Promise; getFilePath(): string; reloadNecessary(lastSync: number): Promise; getLogger(): Logger; createForPersistenceValidation(): Promise; private static createDefaultLoggerOptions; private timeLastModified; private createCacheFile; private createFileDirectory; } //# sourceMappingURL=FilePersistence.d.ts.map