soilai
Version:
Smart-brained text-based code-gen
10 lines (9 loc) • 355 B
TypeScript
import { SoilAiPayload } from "../types";
/** Example usage:
```ts
const fileContents = await findFileWithSoilId("unique-soil-id");
```
*/
export declare function findFileWithSoilId(soilId: string): Promise<Omit<SoilAiPayload, "message"> | null>;
export declare function writeToFile(filePath: string, contents: string): Promise<void>;