UNPKG

mockingjar-lib

Version:

A TypeScript library for AI-powered JSON mock data generation using schema-based configuration

8 lines (7 loc) 371 B
import type Anthropic from '@anthropic-ai/sdk'; import { JsonSchema } from '@/types/schema'; import { GenerationResult, GenerationOptions } from '@/types/generation'; /** * Main hybrid data generation function */ export declare function generateJsonData(anthropic: Anthropic, schema: JsonSchema, prompt: string, options?: GenerationOptions): Promise<GenerationResult>;