UNPKG

graphql-transformer-core

Version:

A framework to transform from GraphQL SDL to AWS cloudFormation.

14 lines 735 B
/// <reference types="node" /> /// <reference types="node" /> /// <reference types="node" /> import { Readable } from 'stream'; export declare function emptyDirectory(directory: string): Promise<void>; export declare function writeToPath(directory: string, obj: any): Promise<void>; export declare function readFromPath(directory: string): Promise<any>; export type FileHandler = (file: { Key: string; Body: Buffer | string | Readable; }) => Promise<string>; export declare function handleFile(handler: FileHandler, key: string, body: Buffer | string | Readable, backoffMS?: number, numTries?: number): Promise<string>; export declare function throwIfNotJSONExt(stackFile: string): void; //# sourceMappingURL=fileUtils.d.ts.map