Type alias AbiEventParametersToPrimitiveTypes<TAbiParameters, Options>
AbiEventParametersToPrimitiveTypes<TAbiParameters, Options>: TAbiParameters extends readonly [] ? readonly [] : Filter<TAbiParameters, Options["IndexedOnly"] extends true ? { indexed: true; } : object> extends infer Filtered extends readonly AbiParameter[] ? _HasUnnamedAbiParameter<Filtered> extends true ? readonly [...{ [K in keyof Filtered]: AbiEventParameterToPrimitiveType<Filtered[K], Options> }] | (Options["Required"] extends true ? never : Filtered extends readonly [...(infer Head extends readonly AbiParameter[]), infer _] ? AbiEventParametersToPrimitiveTypes<readonly [...{ [K in keyof Head]: Omit<Head[K], "name"> }], Options> : never) : { [Parameter in Filtered[number] as Parameter extends { name: infer Name extends string; } ? Name : never]?: AbiEventParameterToPrimitiveType<Parameter, Options> } extends infer Mapped ? Prettify<MaybeRequired<Mapped, Options["Required"] extends boolean ? Options["Required"] : false>> : never : never