okai
Version:
AI-powered code generation tool for ServiceStack Apps. Generate TypeScript data models, C# APIs, migrations, and UI components from natural language prompts using LLMs.
15 lines • 631 B
TypeScript
import { ParseResult } from "./ts-parser.js";
import { ProjectInfo } from "./types.js";
export declare function extractTypeScriptSrc(msg: string): string;
export declare function toAst(src: string): ParseResult;
export declare function createAstFromAITypeScript(ts: string): ParseResult;
export declare function astForProject(tsAst: ParseResult, info: ProjectInfo): ParseResult;
export declare function generateCsAstFromTsd(userTs: string, opt?: {
references: string[];
}): {
tsdAst: ParseResult;
tsd: string;
csAst: import("./types.js").MetadataTypes;
groupName: string;
};
//# sourceMappingURL=ts-ast.d.ts.map