@hashbrownai/core
Version:
Runtime helpers for Hashbrown AI
6 lines • 484 B
TypeScript
import { ArrayType, HashbrownType, ObjectType, StringType } from './base';
import { CleanInterfaceShape } from '../utils/types';
export declare function string(description: string): StringType;
export declare function object<Shape extends Record<string, any>>(description: string, shape: Shape): ObjectType<CleanInterfaceShape<Shape>>;
export declare function array<Item extends HashbrownType>(description: string, item: Item): ArrayType<Item>;
//# sourceMappingURL=streaming.d.ts.map