export declare type Serializer any = (action: object) => S> = { parse: T; payload: (action: ReturnType) => object; match: (obj: S, message: new () => any) => boolean; };