mono/packages/fs/dist/read.d.ts
2025-01-23 07:22:43 +01:00

5 lines
348 B
TypeScript

import type { ReadWriteDataType } from './interfaces.js';
export declare function validateInput(methodName: string, path: string, returnAs: string): void;
export declare function sync(path: string, returnAs?: string): ReadWriteDataType | undefined;
export declare function async(path: string, returnAs?: string): Promise<ReadWriteDataType | null>;