UNPKG

@openai/agents-core

Version:

The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.

8 lines (7 loc) • 777 B
import { type Dirent, type Stats } from 'node:fs'; export declare function clearDirectory(destinationRoot: string): Promise<void>; export declare function shouldSkipSnapshotPath(relativePath: string, excludedLogicalPaths: Set<string>): boolean; export declare function readStableSnapshotDirectoryEntries(sourceRoot: string, expectedSourceStats?: Stats): Promise<Array<Dirent<string>>>; export declare function readStableSnapshotFile(sourcePath: string, expectedSourceStats: Stats): Promise<Uint8Array>; export declare function writeStableSnapshotFile(destinationRoot: string, destinationPath: string, content: Uint8Array, mode?: number): Promise<void>; export declare function assertSafeSnapshotDestinationPath(destinationRoot: string, destinationPath: string): Promise<void>;