10 lines
451 B
TypeScript
10 lines
451 B
TypeScript
export interface IOptions {
|
|
content: string | Buffer | object | Array<any>;
|
|
jsonIndent: number;
|
|
mode: string;
|
|
}
|
|
export declare function validateInput(methodName: string, path: string, options?: IOptions): void;
|
|
export declare function defaults(passedCriteria: IOptions | null): IOptions;
|
|
export declare function sync(path: string, options: IOptions): void;
|
|
export declare function async(path: string, options: IOptions): Promise<unknown>;
|