import { Either } from '../utils'; import { ValueObjectContructor, VOCRawInit } from './value-object'; export declare const makeIsValidRawInit: >(VO: VOC) => (v: any) => v is VOCRawInit; export declare const makeFromRawInit: >(VO: VOC) => (data: VOCRawInit) => Either>; export interface ValueObjectFunctions { isValidRawInit(v: any): v is VOCRawInit; fromRawInit(data: VOCRawInit): Either, InstanceType>; } export declare const makeFunctions: >(VO: VOC) => ValueObjectFunctions;