/**
* Types for the logger plugin.
* This file must be put alongside the JavaScript file of the logger.
*/
import { Payload, Plugin } from "../types/index";
export interface LoggerOption {
collapsed?: boolean;
transformer?: (state: S) => any;
mutationTransformer?:
(mutation: P) => any;
}
export default function createLogger(option: LoggerOption): Plugin;