import { App } from '@openreplay/tracker'; export interface Options { actionFilter: (action: any) => boolean; actionTransformer: (action: any) => any; actionType: (action: any) => any; stateTransformer: (state: any) => any; stateUpdateBatching: { enabled: boolean; throttle: number; }; } export default function (opts?: Partial): (app: App | null) => ({ getState }: { getState: any; }) => (next: any) => (action: any) => any;