export interface ISerializer { id: string; isType: (o: any) => boolean; toObject?: (t: T) => Promise; fromObject?: (o: S) => Promise; } export declare function toObjects(serializers: Array>, o: any): Promise; export declare function fromObjects(serializers: Array>, o: any): Promise;