import { Platform, PlatformResponse } from './types.js'; /** * Node.js implementation of the Platform interface. */ export declare class NodePlatform implements Platform { /** * Saves a file to the local filesystem using `node:fs/promises`. * * **Side Effects:** * - Writes a file to disk. * - Overwrites the file if it already exists. */ saveFile(filepath: string, data: string, encoding: 'base64', activityId?: string): Promise; sleep(ms: number): Promise; createDataUrl(data: string, mimeType: string): string; fetch(input: string, init?: any): Promise; crypto: { randomUUID: () => `${string}-${string}-${string}-${string}-${string}`; sign(text: string, secret: string): Promise; verify(text: string, signature: string, secret: string): Promise; }; encoding: { base64Encode: (text: string) => string; base64Decode: (text: string) => string; }; getEnv(key: string): string | undefined; readFile(path: string): Promise; writeFile(path: string, content: string): Promise; deleteFile(path: string): Promise; }