/// import { Request } from 'express'; export declare const SKIP_SYMBOL: unique symbol; export declare const reqMap: Map>, Map>; interface SSREffectOptions { /** * Function used to get effect payload. * * if SKIP_SYMBOL returned(`return skip()`), effect won't get dispatched when SSR * * @param req express request object * @param skip get a symbol used to let effect escape from ssr effects dispatching */ payloadGetter?: (req: Request, skip: () => typeof SKIP_SYMBOL) => Payload | Promise | typeof SKIP_SYMBOL; /** * Whether skip first effect dispatching in client if effect ever got dispatched when SSR * * @default true */ skipFirstClientDispatch?: boolean; } export declare function SSREffect(options?: SSREffectOptions): (target: T, method: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export {};