///
export declare class FileCache {
private app;
get folder(): string;
private prerequisites;
/**
* @see https://stackoverflow.com/a/45242825
* @param targetFullPath {string}
*/
judgeFilePathValid(targetFullPath: string): boolean;
get(filePathOrName: string): Promise;
set(filePathOrName: string, content: Buffer | string): Promise;
append(filePathOrName: string, content: Buffer | string, options?: Partial<{
useNewLineOnEOF: boolean;
}>): Promise;
exists(filePathOrName: string, content?: Buffer | string): Promise;
remove(filePathOrName: string, content?: Buffer | string, options?: Partial<{
useContentReplaceAllMode: boolean;
}>): Promise;
clear(filePathOrName?: string, options?: Partial<{
useEmptyContentMode: boolean;
}>): Promise;
}