-record(store, { lock_and_get :: fun((binary()) -> {ok, gleam@option:option(glimit@bucket:bucket_state())} | {error, nil}), set_and_unlock :: fun((binary(), glimit@bucket:bucket_state(), integer()) -> {ok, nil} | {error, nil}), unlock :: fun((binary()) -> {ok, nil} | {error, nil}) }).