GT2/Ejectable/node_modules/@expo/configure-splash-screen/build/utils/file-utils.d.ts

10 lines
459 B
TypeScript

/**
* Creates file with given content with possible parent directories creation.
*/
export declare function createDirAndWriteFile(filePath: string, content: string): Promise<void>;
/**
* Reads given file as UTF-8 with fallback to given content when file is not found.
*/
export declare function readFileWithFallback(filePath: string, fallbackContent?: string): Promise<string>;
export declare function removeFileIfExists(filePath: string): Promise<void>;