export type MutationState = { running: boolean; finished: boolean; runMutation: (variables: unknown) => Promise; };