import type { Variables } from '@presetter/types'; import type { JsonObject } from 'type-fest'; /** * load the content of a file * @param path file path to be loaded * @param variables variables to be used during the resolution * @returns content of the file */ export declare function loadFile(path: string, variables?: Variables): JsonObject | string[] | Buffer; /** * ensure that there is a file at the given path with the given content * @param path path where the file should be created * @param content data that should be written to disk */ export declare function ensureFile(path: string, content: string | Buffer): void; //# sourceMappingURL=io.d.ts.map