import fs from 'fs'; import { type WriteFileOptions } from 'fs'; import { type LogService } from 'common-services'; import { type ProgramOptionsService } from './programOptions.js'; export interface FSService { mkdirpAsync: (path: string) => Promise; readFileAsync: (path: string) => Promise; accessAsync: (path: string, mode?: number) => Promise; readdirAsync: (path: string) => Promise; unlinkAsync: (path: string) => Promise; writeFileAsync: (path: string, data: Buffer, options?: WriteFileOptions) => Promise; constants: typeof fs.constants; } declare const _default: import("knifecycle").ServiceInitializer<{ programOptions: ProgramOptionsService; log: LogService; }, FSService>; export default _default;