TImageState: z.infer<typeof imageStateSchema>