@railpath/finance-toolkit
Version:
Production-ready finance library for portfolio construction, risk analytics, quantitative metrics, and ML-based regime detection
17 lines (16 loc) • 452 B
TypeScript
import { z } from 'zod';
/**
* Zod schema for Viterbi algorithm result
*/
export declare const ViterbiResultSchema: z.ZodObject<{
path: z.ZodArray<z.ZodNumber>;
logProbability: z.ZodNumber;
}, z.core.$strip>;
/**
* TypeScript types derived from Zod schemas
*/
export type ViterbiResult = z.infer<typeof ViterbiResultSchema>;
/**
* Validated type after parsing
*/
export type ViterbiResultValidated = z.output<typeof ViterbiResultSchema>;