export type FormatField = { encode(value: T): string; decode(str: string): T; }; export type Fields = FormatField | { [P in keyof T]: Fields; }; export interface RakunFlowParamsBuild

{ encode(params: P): string; }