import type { AnyRecord } from '../BaseTypes';
import type { AnyExecutionContext } from '../execution-context/ExecutionContext';
export type EffectFactory<C extends AnyExecutionContext, Effect extends AnyRecord> = (parent?: C) => {
    effect: Effect;
    removeEffect?: () => void;
};
export type AnyEffectFactory = EffectFactory<any, any>;
