@minofrk/msf-io-ts
Version:
Type utilities with io-ts for MSF format.
17 lines (16 loc) • 535 B
TypeScript
import { Type, TypeOf, OutputOf } from 'io-ts';
import { Variation } from './variation';
import { Options } from './options';
import { Move } from '../move';
import { State } from '../state';
declare type Codec = Type<TypeOf<typeof Options> & {
ov: TypeOf<typeof Move>;
slax: TypeOf<typeof State>;
mit: TypeOf<typeof Variation>[];
}, OutputOf<typeof Options> & {
ov: OutputOf<typeof Move>;
slax: OutputOf<typeof State>;
mit: OutputOf<typeof Variation>[];
}>;
export declare const NonRootNode: Codec;
export {};