function createEffectimport { createEffect } from "https://dotland.deno.dev/x/effector@effector-vue%4023.1.0/packages/effector/index.d.ts"; createEffect<FN extends Function>(handler: FN): EffectByHandler<FN, Error>Creates an effect createEffect<Params, Done, Fail = Error>(handler: (params: Params) => Done | Promise<Done>): Effect<Params, Done, Fail>Creates an effect createEffect<FN extends Function, Fail>(handler: FN): EffectByHandler<FN, Fail>Creates an effect createEffect<FN extends Function>(name: string, config: { handler: FN; sid?: string; domain?: Domain; }): EffectByHandler<FN, Error>Creates an effect createEffect<Params, Done, Fail = Error>(effectName?: string, config?: { handler?: (params: Params) => Promise<Done> | Done; sid?: string; domain?: Domain; }): Effect<Params, Done, Fail>Creates an effect createEffect<FN extends Function>(config: { name?: string; handler: FN; sid?: string; domain?: Domain; }): EffectByHandler<FN, Error>Creates an effect createEffect<Params, Done, Fail = Error>(config: { name?: string; handler?: (params: Params) => Promise<Done> | Done; sid?: string; domain?: Domain; }): Effect<Params, Done, Fail>Creates an effect Creates an effect Type ParametersFN extends FunctionParametershandler: FNfunction to handle effect calls ReturnsEffectByHandler<FN, Error>Creates an effect Type ParametersParamsDoneoptionalFail = ErrorParametershandler: (params: Params) => Done | Promise<Done>function to handle effect calls ReturnsEffect<Params, Done, Fail>Creates an effect Type ParametersFN extends FunctionFailParametershandler: FNfunction to handle effect calls ReturnsEffectByHandler<FN, Fail>Creates an effect Type ParametersFN extends FunctionParametersname: stringconfig: { handler: FN; sid?: string; domain?: Domain; }ReturnsEffectByHandler<FN, Error>Creates an effect Type ParametersParamsDoneoptionalFail = ErrorParametersoptionaleffectName: stringoptionalconfig: { handler?: (params: Params) => Promise<Done> | Done; sid?: string; domain?: Domain; }ReturnsEffect<Params, Done, Fail>Creates an effect Type ParametersFN extends FunctionParametersconfig: { name?: string; handler: FN; sid?: string; domain?: Domain; }ReturnsEffectByHandler<FN, Error>Creates an effect Type ParametersParamsDoneoptionalFail = ErrorParametersconfig: { name?: string; handler?: (params: Params) => Promise<Done> | Done; sid?: string; domain?: Domain; }ReturnsEffect<Params, Done, Fail>