@ai2070/l0
Version:
L0: The Missing Reliability Substrate for AI
14 lines • 908 B
TypeScript
export declare function repairJson(json: string): string;
export declare function balanceBraces(json: string): string;
export declare function balanceBrackets(json: string): string;
export declare function removeTrailingCommas(json: string): string;
export declare function fixUnclosedStrings(json: string): string;
export declare function repairMarkdownFences(markdown: string): string;
export declare function repairLatexEnvironments(latex: string): string;
export declare function repairToolCallArguments(args: string): string;
export declare function isValidJson(json: string): boolean;
export declare function parseOrRepairJson(json: string): any;
export declare function extractJson(text: string): string | null;
export declare function wrapInJson(key: string, content: string): string;
export declare function ensureJson(content: string, wrapKey?: string): string;
//# sourceMappingURL=repair.d.ts.map