declare const isDirOrFileExists: (filePath: string) => boolean;
declare const isDirectory: (filePath: string) => boolean;
declare const isSubDirectoryExists: (parentDirPath: string, folderName: string) => boolean;
declare const getSubDirectory: (parentDirPath: string, folderName: string) => string;
declare const isFile: (filePath: string) => boolean;
/**
 * Reads a file from the specified directory and returns its contents as a string.
 * @param parentDirPath - The path to the directory where the file is located.
 * @param name - The name of the file to read.
 * @returns The contents of the file as a string.
 */
declare const readFile: (parentDirPath: string, name: string) => string;
declare const hasReadAccess: (filePath: string) => boolean;
declare const readFileAsBuffer: (filePath: string) => Buffer;
declare const getRandomFileName: (fileExtension?: string) => string;
declare const isYamlFile: (fileName: string) => boolean;
declare const isJsonFile: (fileName: string) => boolean;
declare const isOtherFile: (fileName: string) => boolean;
declare const normalizePath: (inputPath: string) => string;
declare const getParentDir: (filePath: string) => string;
declare const readDirectoryContents: (folderPath: string) => string[];
declare const readFileAsString: (filePath: string) => string;
declare const getFileNameFromPath: (filePath: string) => string;
declare const createBuildZip: (zipBuffer: Buffer, zipFileName: string) => Promise<boolean>;
declare const writeJsonToFile: (filePath: string, data: object, options?: {
    spaces?: number;
}) => Promise<void>;
declare const ensureDirectoryExists: (dirPath: string) => Promise<void>;
declare const checkFileExists: (filePath: string) => Promise<boolean>;
declare const readJsonFromFile: (filePath: string) => Promise<any>;
export declare function generateFileInRootDir(data: any): Promise<void>;
export { isDirOrFileExists, hasReadAccess, isDirectory, isFile, isSubDirectoryExists, readFile, readFileAsBuffer, getRandomFileName, isYamlFile, isJsonFile, isOtherFile, getSubDirectory, normalizePath, getParentDir, readDirectoryContents, readFileAsString, getFileNameFromPath, createBuildZip, writeJsonToFile, ensureDirectoryExists, checkFileExists, readJsonFromFile };
//# sourceMappingURL=fs-helper.d.ts.map