import { Observable } from 'rxjs'; import { Action } from './action'; type SourceAction = () => Observable; type SourceAny = () => Observable; interface Config { dispatch: boolean; } interface ConfigWithDispatch extends Config { dispatch: true; } interface ConfigWithKeep extends Config { dispatch: false; } export type Effect = Observable; declare function createEffect(source: SourceAction, config?: ConfigWithDispatch): Effect; declare function createEffect(source: SourceAny, config: ConfigWithKeep): Effect; export { createEffect }; export declare const ofType: (...allowedTypes: string[]) => import("rxjs").UnaryFunction, Observable>;